LightClass
Classlabel: "pointlight" or "directionlight" or "spotlight"
Description:
Light Class is a special class that is isolated from the rest. It is closer to a RenderClass then an actual Object. These can only be used in [GameObjectClass]::lightName#.
ODF Properties:
Description:
Light Class is a special class that is isolated from the rest. It is closer to a RenderClass then an actual Object. These can only be used in [GameObjectClass]::lightName#.
ODF Properties:
-
[LightClass]
lightColor.r = 1.0f
lightColor.g = 1.0f
lightColor.b = 1.0f
lightColor.a = 1.0f
lightRange = 1e15
Light Attenuation values. Use this graph to calculate the desired settings with BZCC's Shader:
Battlezone Combat Commander Light Attenuation Graph [www.desmos.com]
R = Radius, Kc = Constant, Kl = Linear, Kq = Quadratic. The Blue line represents BZCC's light falloff. BZCC's Shader forces the light to end at 0, which is why the dotted Red line isn't the actual light falloff curve.
attenuateConstant = 1.0f
attenuateLinear = 0.0f
attenuateQuadratic = 15.0f
coneAngInner = 1.570795
coneAngOuter = 1.570795
coneFalloff = 1.0f
lensFlare = true