OptionalenabledWhether clustered light culling is active. Defaults to true (WebGL2/WebGPU only).
OptionalmaxMaximum number of lights a single cluster cell can reference. Defaults to 32.
OptionaltileScreen-space tile size in pixels, [width, height]. Defaults to [16, 16].
OptionalzNumber of logarithmically-staggered depth slices. Defaults to 24.
Configuration for clustered/tiled forward+ light culling -- see
docs/adr/0007-clustered-lighting-webgl2-webgpu-only.md. WebGPU consumes the full grid; WebGL2 uses it for performance only (still reads at most 16 raw lights); WebGL1 ignores it entirely (no compute, no integer/texelFetch textures).