Turn on a cascade level to see its probes and their ray intervals.
RADIANCE CASCADES
Real-time 2D global illumination
I implemented Radiance Cascades from the original paper: a NumPy reference on the CPU first, then a GPU renderer with hand-written WGSL shaders.
PIPELINE
- [1]SEEDwrite scene radiance into the cascades
- [2]BUILDhierarchy of cascades, sparser probes and more directions per level
- [3]MERGEfold levels together with trilinear interpolation over position and angle
ARCHITECTURE
A small render graph over reusable texture, buffer and GPU-context pieces, so passes compose and swap independently.
The demo on the left is a CPU ray march, so it runs in any browser. The real cascades live in the repo.