● | OpenBVE currently supports two distinct lights for the scene. These are the Dynamic Light and the Ambient Light.
|
● | In addition to this, you must consider the Cab Brightness value, which determines the blend between the daytime and nighttime cab textures. |
● | The current implementation of OpenBVE produces incorrect illumination on the back face of faces created by Face2 (B3D) or AddFace2 (CSV) commands. NOTE: This behavior is subject to change in future versions of OpenBVE, so that both sides are correctly illuminated. |
<AmbientLight> RedValue; GreenValue; BlueValue </AmbientLight> |
<DirectionalLight> RedValue; GreenValue; BlueValue </DirectionalLight> |
<LightDirection> DirectionX; DirectionY; DirectionZ </LightDirection> |
<CartesianLightDirection> DirectionX; DirectionY; DirectionZ </CartesianLightDirection> |
<SphericalLightDirection> Theta; Phi </SphericalLightDirection> |
<CabLighting> CabLightingValue </CabLighting> |