Public Types | |
enum | EType { kAmbientLight, kDistantLight, kPointLight, kSpotLight } |
Public Attributes | |
EType | fLightType |
TMCColorRGB | fDiffuse |
TMCColorRGB | fSpecular |
TVector3 | fPosition |
TVector3 | fDirection |
real | fConeAngleDegreesMin |
this is the cone attenuation (spot only) | |
real | fConeAngleDegreesMax |
real | fFalloffDistanceMin |
Start of the distance falloff (point/spot only). | |
real | fFalloffDistanceMax |
End of the distance falloff (point/spot only). |
A simple description of a light for fast lighting during interactive rendering. Diffuse/specular terms are a combination of color and intensity (may be negative) Point lights use only position, distant lights use only direction, spots both
this is the cone attenuation (spot only)
End of the distance falloff (point/spot only).
Start of the distance falloff (point/spot only).