THREE.JS / FOUNDATIONS 286
Light needs something to cross.
Godrays are a screen-space shadow journey: march from the camera through a point-light shadow volume, blur the result, then blend it back without leaking across depth edges.
Initializing godrays—
Preparing a local shadow volume and TSL post-processing graph…
raymarch controls
- path
- —
- depth source
- —
- shadow map
- 512²
- draw calls
- —
- cpu ms
- —
Godrays initialization failed.
The shadow-aware post-processing graph could not initialize.
The WebGL2 route keeps the generated shadow scene visible as a direct beauty reference; the TSL godrays graph is WebGPU-only here. Release disposes the scene, graph, passes, controls, and renderer. Whole-example fidelity remains separate.
LAB 286 / GODRAYS