28 #ifndef INCLUDED_RENDERMODIFIERS
29 #define INCLUDED_RENDERMODIFIERS
133 #endif // INCLUDED_RENDERMODIFIERS
CShaderProgram::Binding m_BindingShadingColor
void BeginPass(const CShaderProgramPtr &shader)
BeginPass: Setup OpenGL for the given rendering pass.
virtual ~RenderModifier()
virtual void PrepareModel(const CShaderProgramPtr &shader, CModel *model)=0
PrepareModel: Called before rendering the given model.
Class ShadowMap: Maintain the shadow map texture and perform necessary OpenGL setup, including matrix calculations.
const CLightEnv * GetLightEnv() const
const CLightEnv * m_LightEnv
void PrepareModel(const CShaderProgramPtr &shader, CModel *model)
PrepareModel: Called before rendering the given model.
void SetShadowMap(const ShadowMap *shadow)
SetShadowMap: Set the shadow map that will be used for rendering.
virtual void BeginPass(const CShaderProgramPtr &shader)=0
BeginPass: Setup OpenGL for the given rendering pass.
CShaderProgram::Binding m_BindingInstancingTransform
const ShadowMap * m_Shadow
A RenderModifier that sets uniforms and textures appropriately for rendering models.
Class RenderModifier: Some ModelRenderer implementations provide vertex management behaviour but allo...
void SetLightEnv(const CLightEnv *lightenv)
SetLightEnv: Set the light environment that will be used for rendering.
const ShadowMap * GetShadowMap() const
Represents a uniform attribute or texture binding.
Class CLightEnv: description of a lighting environment - contains all the necessary parameters for re...
shared_ptr< CShaderProgram > CShaderProgramPtr
CShaderProgram::Binding m_BindingPlayerColor
Class LitRenderModifier: Abstract base class for RenderModifiers that apply a shadow map...