Establishing Light Detection
Detecting whether the player is in light or shadow was the first priority.
To meet the team's need for quick playtesting, I focused on building a simple, fast, and reliable system. The prototype I created ended up being used in the final game.

How It Works
- ๐ Enter Light Volume - Detect when the player enters a light detection zone.
- ๐ Light Source Check - Trace from the light source to the player.
- ๐ Shadow Detection - If the trace is blocked, the player is in shadow; otherwise, in light.
- ๐ Dynamic Scaling - Light radius adjusts automatically for easier placement by designers.