MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / lightSystem

Function lightSystem

examples/scene-graph/interactive.ts:126–129  ·  view source on GitHub ↗
(dt: number)

Source from the content-addressed store, hash-verified

124
125// Light system (priority 5)
126function lightSystem(dt: number): void {
127 addDirectionalLight(0.5, 1.0, 0.3, 1.0, 0.95, 0.9, 0.6);
128 addDirectionalLight(-0.3, 0.5, -0.7, 0.8, 0.85, 0.95, 0.25);
129}
130
131// ============================================================
132// Camera orbit controls

Callers

nothing calls this directly

Calls 1

addDirectionalLightFunction · 0.90

Tested by

no test coverage detected