"L. Spiro Engine"
|
#include <LSGShader.h>
Public Attributes | |
LSUINT32 | ui32TotalLights |
LSUINT32 | ui32DirLights |
LSUINT32 | ui32PointLights |
LSUINT32 | ui32SpotLights |
CVector4 | gvLightVectors [LSG_MAX_LIGHTS] |
CVector3 | gvSpotDirs [LSG_MAX_LIGHTS] |
CVector4 | gvAmbient [LSG_MAX_LIGHTS] |
CVector4 | gvDiffuse [LSG_MAX_LIGHTS] |
CVector4 | gvSpecular [LSG_MAX_LIGHTS] |
CVector4 | gvAtt [LSG_MAX_LIGHTS] |
CVector4 | gvSpots [LSG_MAX_LIGHTS] |
CVector4 | gcAmbientLight |
CVector4 | gcSkyColor |
CVector4 | gcGroundColor |
LSUINT32 | ui32DirtyCounter |
Light information. Optimized for speed.
Ambient light color.
Ground color.
Sky color.
CVector4 lsg::CShader::LSG_LIGHT_FULLDATA::gvAmbient[LSG_MAX_LIGHTS] |
Ambient color.
CVector4 lsg::CShader::LSG_LIGHT_FULLDATA::gvAtt[LSG_MAX_LIGHTS] |
Attenuations.
CVector4 lsg::CShader::LSG_LIGHT_FULLDATA::gvDiffuse[LSG_MAX_LIGHTS] |
Diffuse color.
CVector4 lsg::CShader::LSG_LIGHT_FULLDATA::gvLightVectors[LSG_MAX_LIGHTS] |
Light vectors. For directional lights (first in the array), these are directions. Point lights follow directional lights, and then these represent the position of the point.
CVector4 lsg::CShader::LSG_LIGHT_FULLDATA::gvSpecular[LSG_MAX_LIGHTS] |
Specular color.
CVector3 lsg::CShader::LSG_LIGHT_FULLDATA::gvSpotDirs[LSG_MAX_LIGHTS] |
Spotlight directional vectors.
CVector4 lsg::CShader::LSG_LIGHT_FULLDATA::gvSpots[LSG_MAX_LIGHTS] |
Spot-light data.
Total number of directional lights.
Dirty counter.
Total number of point lights.
Total number of spot lights.
Total number of lights.