look into the manual:
sun_color
The color of sunlight, default (128,128,128).
ambient_color
The basic environment lighting of an entity outside the PRV range (such as an entity in an unlit level or with no ground below), default (64,64,64).
Range:
(0,0,0) .. (255,255,255).
Type:
COLOR* (BGR)
Remarks
- The sun_color vector is multiplied by the sun brightness (sun_light) to give the final sun color.
- A7.60 Sun and ambient color are loaded from their Map Properties values of the current level when their level values are nonzero. Otherwise they stay at their default values, giving medium brightness to all objects. Loading from the level can be prevented by setting sun or ambient colors at zero in Map Properties, or by setting the compatibility variable at 6 or below.
- The sun_color is a dynamic light and can be changed anytime; the ambient_color is static and only affects a level loaded afterwards. For affecting the overall brightness, use the view.ambient parameter.