AdvancedLightBinManager::LightMaterialInfo
Engine/source/lighting/advanced/advancedLightBinManager.h
Public Attributes
Public Functions
LightMaterialInfo(const String & matName, const GFXVertexFormat * vertexFormat, const Vector< GFXShaderMacro > & macros)
setLightParameters(const LightInfo * light, const SceneRenderState * renderState)
Detailed Description
Public Attributes
MaterialParameterHandle * farPlane
MaterialParameterHandle * lightAmbient
MaterialParameterHandle * lightBrightness
MaterialParameterHandle * lightColor
MaterialParameterHandle * lightDirection
MaterialParameterHandle * lightInvSqrRange
MaterialParameterHandle * lightPosition
MaterialParameterHandle * lightRange
MaterialParameterHandle * lightSpotParams
LightMatInstance * matInstance
MaterialParameterHandle * negFarPlaneDotEye
MaterialParameterHandle * vsFarPlane
MaterialParameterHandle * zNearFarInvNearFar
Public Functions
LightMaterialInfo(const String & matName, const GFXVertexFormat * vertexFormat, const Vector< GFXShaderMacro > & macros)
~LightMaterialInfo()
setLightParameters(const LightInfo * light, const SceneRenderState * renderState)
setViewParameters(const F32 zNear, const F32 zFar, const Point3F & eyePos, const PlaneF & farPlane, const PlaneF & _vsFarPlane)