info_sunlight

From Sven Co-op
Jump to navigation Jump to search
info_sunlight
Type

point

Status

supported

 


Overrides light_environment light affecting, making all models affected by light_environment(s) picks lightning settings from this info_sunlight instead of environment lights. Helpful when light_environment produces dim light, but we need models to be more brightened. Also useful when multiple light_environments are used, and light doesn't suit both lights, so mapper can specify light color and brightness by his own for environmental lights.

Keyvalues

Pitch : pitch

Determines position of the virtual sun. Pitch '0' for sun casting light from the ground level (minimal light, shadows simulates eclipse-like blackout), '90' for most top position (yaw value don't need to be set if pitch is 90 or -90). Negative values places sun beneath ground level, so in the basic sky configuration (sky textures above the ground) the map is full-lit (no shadows).

Brightness : _light

Red, green and blue amounts of the light color, from 0 to 255, followed by the brightness, which can have pretty much any value greater than 0. It is not limited to 200 or 255 and can be a decimal, although that level of precision is rarely required.