(dt: number)
| 212 | |
| 213 | // LightSystem (priority 5) — sets up lighting each frame |
| 214 | function lightSystem(dt: number): void { |
| 215 | // Main directional light (sun-like) |
| 216 | addDirectionalLight(0.5, 1.0, 0.3, 1.0, 0.95, 0.9, 0.7); |
| 217 | // Fill light |
| 218 | addDirectionalLight(-0.3, 0.5, -0.7, 0.8, 0.85, 0.95, 0.3); |
| 219 | // Rim light |
| 220 | addDirectionalLight(0.0, -0.2, 1.0, 0.9, 0.9, 1.0, 0.15); |
| 221 | } |
| 222 | |
| 223 | // ============================================================ |
| 224 | // Scene setup |
nothing calls this directly
no test coverage detected