"L. Spiro Engine"
Public Attributes

lsg::CShader::LSG_LIGHT_FULLDATA Struct Reference

#include <LSGShader.h>

List of all members.

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

Detailed Description

Light information. Optimized for speed.


Member Data Documentation

Ambient light color.

Ground color.

Sky color.

Ambient color.

CVector4 lsg::CShader::LSG_LIGHT_FULLDATA::gvAtt[LSG_MAX_LIGHTS]

Attenuations.

Diffuse color.

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.

Specular color.

Spotlight directional vectors.

Spot-light data.

Total number of directional lights.

Dirty counter.

Total number of point lights.

Total number of spot lights.

Total number of lights.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator