Public Member Functions | |
ShadowMaterial (const TMaterialId materialId, const std::string &name, Shaders::ColorShader &shader, Eegeo::Lighting::GlobalShadowing &lighting) | |
const TMaterialId | GetId () const |
const Shader & | GetShader () const |
const std::string & | GetName () const |
void | SetState (Rendering::GLState &glState) const |
void | SetStatePerRenderable (const Rendering::RenderableBase *renderableBase, Rendering::GLState &glState) const |
const v3 & | GetColor () const |
Protected Attributes | |
const TMaterialId | m_id |
const std::string | m_name |
Shaders::ColorShader & | m_shader |
Eegeo::Lighting::GlobalShadowing & | m_shadowing |