render.GetAmbientLightColor
Description
Returns the ambient color intensity of the map, basically the color the sky emits.
This is used by the engine to calculate shadow color using the following formula: ambientLight * 3 + Vector( 0.3, 0.3, 0.3 )
See also render.ComputeLighting.
Returns
1 Vector
The ambient color intensity of the map.
This is computed at map compile time and is stored in "linear color space".
Garry's Mod
Rust
Steamworks
Wiki Help