Lighting Example

579
580
5
6

Arrow keys to move
Press icon in top right for fullscreen

Uses a continuous proximity check for the movable objects for constant light value updates. The ground objects only need this update once in the beginning and keeps the value, as it does not move to change the lighting value. This optimizes the scene.

Also includes lighting entrances and exits for the player object to adjust to a lit/dark environment at choice.

Editor