light_environment Last edited 3 months ago2024-01-08 10:59:38 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

light_environment - Point Entity

This entity makes the map's sky (specifically, User posted image sky-textured brushes) emit light. The only practical way of lighting outdoor maps.

Attributes

ZHLT/VHLT-specific keyvalues:

Positioning logic

Use Pitch to shift the sun (or moon) vertically (similar to daytime/hours) and Yaw to shift it horizontally (cardinal direction or obliquity)
Pitch Result
Sun at the horizon (like in sunrise/sunset) - huge shadows on floor if at least a minimal amount of -pitch were given
-45° Sun between horizon and top (like 9 AM or 3 PM)
-90° Sun directly overhead (like 12 Noon) - only parallel shadows on floor
Yaw Result
facing RT side of the skybox
90° facing BK side of the skybox
180° facing LF side of the skybox
270° facing FT side of the skybox

Notes

Example maps

Comments

You must log in to post a comment. You can login or register a new account.