Radiance Cascades Demo


Vanilla radiance cascades implementation, with all the ringing that brings with it.

You may notice some artifacting, that's because of pixel formats for the frame buffers... As far as I can tell, with sokol web targets, my best choices are RGBA8, RGBA16F, and RGB10A2. The first one is sorely imprecise, the second one I can't get to work, so I'm left with RGB10A2, for now.

Fixing that in the pipeline is a TODO, but for now it's good enough, and works well on non-web targets with RGBA16 pixel formats.

Many thanks to the members of the RC Discord for holding my hand :)

Controls: