The position of the sun, calculated from
the sun azimuth and elevation angles (sun_angle), in a distance of 100,000
units from the entity resp. the level center.
The normalized direction vector from the camera to the sun, calculated from
the view position and the sun azimuth and elevation angles.
The color of the sun light.
vecSunColor.w is 1 when the sun is shining, otherwise 0.
- The Y and Z axes, as well as the red and blue components
of DirectX vectors are swapped due to the Acknex->DirectX
coordinate system conversion.
The sun position is also contained in the vecLightPos array.
MATERIAL, shaders, shader