light_environment (Half-Life) Last edited 5 years ago2019-04-01 23:27:50 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.
Point Entity

This entity makes the map's sky emit light. The only practical way of lighting outdoor maps.

Attributes

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)

0° Pitch: sun at the horizon (like in sunrise/sunset) - huge shadows on floor if at least a minimal amount of -pitch were given
-45° Pitch: sun between horizon and top (like 9 AM or 15 PM)
-90° Pitch: sun at the top (like 12 Noon) - only parallel shadows on floor

0° Yaw: facing RT side of the skybox
90° Yaw: facing BK side of the skybox
180° Yaw: facing LF side of the skybox
270° Yaw: facing FT side of the skybox

Flags

Notes

1 Comment

Commented 1 month ago2024-09-15 15:09:55 UTC Comment #106399
NOTE TO SELF: VHLT rolls pitch into the pitch component of angles. World and model lighting should just work.

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