- Having a light turn on when it becomes dark
- Studio camera light that turns on when you’re in dark caves so you can see what you’re working with
- Monster night vision that enables when it gets dark
- Street lamps that come on when the area around them is dark
- HUD that lights up in the dark (like your car’s dash when your lights turn on when it’s dark)
- Vampire (or any other monster) damaged by sunlight
- Spawn monsters in dark places
- Detect how much a plant should grow based on its light level
- Magic spells (light & dark) which require there to be a certain light level to cast
The voxel grid already stores this information, so it’d be much better for it to provide these already-calculated values instead of us having to slowly (and inaccurately) calculate them in Lua.