r/GraphicsProgramming • • Oct 28 '26

Video Global illumination using Radiance cascades with Ray splitting in Unreal + Article

Implemented Radiance cascades with ray splitting in unreal.
This results in global illumination that doesn't require reprojection, and accumulates very fast thus having very little ghosting.
I wrote an article explaining how it works here:
It's based on this recent paper

116 Upvotes

11 comments sorted by

2

u/moschles Oct 29 '26

I reviewed the article and the paper. Now I really want to see (RC) + (traditional ambient occlusion.)

You should mix them using a "darken only" filter.

2

u/Twenmod Oct 29 '26

Adding traditional AO helps quite a bit,
since this way of doing RC struggles with detail that is closer than the size of a cascade 0 primary or secondary probe.
So adding it on top helps with the small crevices.

here is a comparison,
(note idk what type of AO this is using its whatever unreal enables with the ambient occlusion checkbox haha)
https://imgur.com/a/QckefOr

6

u/JoelArt Oct 28 '26

Impressive! I don't program but I use 3D and I love to see this technique gianing traction.

4

u/cplusplus_ Oct 28 '26

Saw your post in the Radiance Cascades discord as well. Looks great! Can't wait to look at your implementation and read through your writeup. Thanks for sharing!

1

u/mad_ben Oct 28 '26

Is that Intel Sponza? Do you have it by any chance in UE5 format? 

1

u/Twenmod Oct 28 '26

Blender loads the dds textures it comes with so re-exporting it to gltf via blender let's unreal load it normally

Unless I'm confusing this with bistro. But unreal can just load gltfs

2

u/mad_ben Oct 29 '26

I tried usd import. It feels slugish but works. However curtains need to be placed by hand. 

2

u/Twenmod Oct 29 '26

to keep the scene hierarchy you need to use "import into scene" otherwise it just imports all meshes separately

1

u/mkh33l 18d ago

Looks really good!

What are the most challenging parts about RCs and can you use traditional shaders or modern hardware raytracing to assist with accuracy?

Edit: I saw your comment about AO after posting. To me it looks like a double edged sword if you look at the handles right of the TV. https://imgur.com/a/QckefOr

1

u/Twenmod 18d ago

Its more the other way around, RC is assisting the ray tracing to get better results with less samples.
It merges the samples based on intervals to get the needed angular vs spatial resolution in the right spots.
and those samples are the HW Rays or possibly other kind of light samples.

The challenging part of RC is getting it in 3d in a scalable way which is what the ray splitting technique tries to do.

2

u/DrDumle Oct 29 '26

Thank you for this!