Lights — user documentation
The lighting side of the scene: the light model, shadows, and emissive materials.
| Page | Topic |
|---|---|
| Lights | Scene-global lights (directional/point/spot/ambient), MAX_LIGHTS, packed indices |
| Shadows | Shadow mapping: picking the casting light, the packed-index pitfall, tuning |
| Emissive + Exposure | Emissive materials (HDR glow) and runtime exposure |
Example folder: lib/examples/lights/
(shadow, shadow_test, spot_test, emissive).