Radiance Cascades
A hierarchical set of probe grids where coarse probes have many angular samples but long ray intervals, and fine probes have few angles but short intervals. Merging them gives noise-free, penumbra-correct GI at fixed cost.
Also known as RC, holographic radiance cascades
In the family Light transport & global illumination, probe-based GI
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | None found | |
| Unity | None found | |
| Unreal 5.7 | None found | Real-time global illumination uses Lumen Surface/Radiance Cache rather than Radiance Cascades. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Radiance cascades exploit the way visual detail trades between space and angle. A small light source needs fine angular resolution but only coarse spatial resolution, because it is far away; a nearby occluder needs fine spatial resolution but little angular detail. Cascade 0 holds a dense grid of probes, each with few directions, tracing only a short ray interval (say, the first few pixels). Cascade 1 has a grid four times sparser, each probe with four times as many directions, tracing the next interval beyond cascade 0's range, and so on.
The cascades are evaluated independently, then merged from coarsest to finest. A cascade n probe's interval radiance is combined with the already-merged radiance from cascade n+1: if the ray was blocked, its own result is used; if it reached the interval's end without hitting, the coarser cascade's interpolated radiance is continued. The finest cascade then holds the full radiance field at each pixel.
The dimension of the work is constant per cascade, so cost is linear in pixels with a fixed angular budget, and penumbrae come out correct and noise-free instead of being sampled stochastically. 3D versions add a fourth dimension of directions and are active research.
When to choose it
Reach for it when
- need dynamic global illumination without noise
- 2d game lighting with soft penumbrae
- fully dynamic indirect light at fixed cost
- screen-space gi flickers and grains
- sharp accurate shadows from large lights without baking
Choose it for 2D games and screen-space or SDF-based 3D GI where you want sharp, noise-free, fully dynamic indirect light with predictable cost.
Prefer Dynamic Diffuse Global Illumination (DDGI) when you have a hardware ray tracer and a 3D scene with probes on a world grid. Prefer Screen-Space Global Illumination when you only need a cheap gather of nearby bounce light in a deferred pipeline. Prefer SDF-Based Software Ray Tracing GI (Lumen-style) when you need a production 3D solution. Prefer Light Propagation Volumes when you can accept very coarse 3D propagation.
Field marks
- Ringing or banding where probes in neighbouring cascades disagree, especially with visible seams between interval boundaries
- Needs a scene representation that can be ray-marched quickly (SDF or screen depth), which limits where it works
- Light leaking at thin occluders where an interval ends inside a wall
- 3D extension is memory- and bandwidth-hungry because directions grow with the cascade level
Presets
2D Radiance Cascades — hierarchical interval probe GI with penumbra-correct colored shadows
{
"CASCADES": 4,
"RAYS": 24,
"BASE_INTERVAL": 0.08,
"FALLOFF": 1.6
}Show GLSL (94 lines)
const int CASCADES = 4; // P
const int RAYS = 24; // P
const float BASE_INTERVAL = 0.08; // P
const float FALLOFF = 1.6; // P
float sdCircle(vec2 p, vec2 c, float r) { return length(p - c) - r; }
float sdBox(vec2 p, vec2 b) { vec2 d = abs(p) - b; return length(max(d, 0.0)) + min(max(d.x, d.y), 0.0); }
float sdSegment(vec2 p, vec2 a, vec2 b) {
vec2 pa = p - a, ba = b - a;
float h = clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0);
return length(pa - ba * h);
}
vec4 sampleScene(vec2 p, vec2 orbPos) {
float dObs = sdCircle(p, vec2(-0.08, 0.02), 0.11);
dObs = min(dObs, sdBox(p - vec2(0.18, 0.18), vec2(0.025, 0.16)));
dObs = min(dObs, sdBox(p - vec2(0.18, -0.22), vec2(0.025, 0.14)));
vec2 q = p - vec2(-0.22, -0.26);
mat2 rot = mat2(0.866, -0.5, 0.5, 0.866);
dObs = min(dObs, sdBox(rot * q, vec2(0.14, 0.022)));
float dE1 = sdCircle(p, orbPos, 0.055);
float dE2 = sdSegment(p, vec2(-0.44, -0.18), vec2(-0.44, 0.24)) - 0.022;
float dE3 = sdCircle(p, vec2(0.39, -0.02), 0.045);
float d = min(dObs, min(dE1, min(dE2, dE3)));
vec3 em = vec3(0.0);
if (dE1 < 0.002) em = vec3(4.2, 2.0, 0.65);
else if (dE2 < 0.002) em = vec3(0.45, 2.6, 3.8);
else if (dE3 < 0.002) em = vec3(3.4, 0.55, 2.1);
return vec4(em, d);
}
vec3 aces(vec3 x) {
x = max(x, 0.0);
return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
vec2 orbPos = vec2(0.24 * cos(iTime * 0.65) - 0.06, 0.28 * sin(iTime * 0.52) + 0.05);
if (iMouse.z > 0.5 || length(iMouse.xy) > 1.0) {
orbPos = (iMouse.xy - 0.5 * iResolution.xy) / iResolution.y;
}
vec4 self = sampleScene(uv, orbPos);
if (self.w < 0.0) {
vec3 col = length(self.rgb) > 0.01 ? self.rgb : vec3(0.045, 0.05, 0.065);
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
return;
}
int nCasc = clamp(CASCADES, 1, 6);
int nRays = clamp(RAYS, 6, 48);
float baseInt = max(BASE_INTERVAL, 0.015);
float falloff = max(FALLOFF, 0.1);
float jitter = fract(sin(dot(fragCoord, vec2(12.9898, 78.233))) * 43758.5453);
vec3 radiance = vec3(0.0);
for (int r = 0; r < 48; r++) {
if (r >= nRays) break;
float ang = (float(r) + jitter * 0.35) * (6.2831853 / float(nRays));
vec2 dir = vec2(cos(ang), sin(ang));
float trans = 1.0;
float tStart = 0.004;
for (int c = 0; c < 6; c++) {
if (c >= nCasc || trans < 0.01) break;
float segLen = baseInt * pow(2.0, float(c));
float tEnd = tStart + segLen;
float t = tStart;
for (int s = 0; s < 6; s++) {
vec4 hit = sampleScene(uv + dir * t, orbPos);
if (hit.w < 0.0025) {
float att = 1.0 / (1.0 + falloff * t * t * 6.0);
radiance += trans * hit.rgb * att;
trans = 0.0;
break;
}
t += max(hit.w, segLen * 0.14);
if (t > tEnd) break;
}
tStart = tEnd;
}
radiance += trans * vec3(0.015, 0.022, 0.04);
}
radiance /= float(nRays);
vec2 grid = abs(fract(uv * 16.0 - 0.5) - 0.5) / fwidth(uv * 16.0);
float probeDot = smoothstep(0.09, 0.03, length(fract(uv * 12.0) - 0.5));
vec3 floorAlbedo = vec3(0.76, 0.78, 0.82) * (1.0 - 0.06 * smoothstep(1.2, 0.0, min(grid.x, grid.y)));
vec3 col = radiance * floorAlbedo + probeDot * radiance * 0.12;
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Attribution: MIT — written for this index
2D Radiance Cascades probe marcher (WGSL)
{
"RAYS": 16,
"STEP_SCALE": 0.018,
"LIGHT_GAIN": 1.4
}Show WGSL (42 lines)
// WebGPU WGSL fragment specimen: 2D multi-interval Radiance Cascades approximation
const RAYS: i32 = 16; // P
const STEP_SCALE: f32 = 0.0180; // P
const LIGHT_GAIN: f32 = 1.4000; // P
fn rc_scene(p: vec2f, t: f32) -> vec4f {
let e1 = length(p - vec2f(-0.34, 0.16 * sin(t * 0.7))) - 0.11;
if (e1 < 0.0) { return vec4f(2.6, 1.35, 0.55, 1.0); }
let e2 = length(p - vec2f(0.36, -0.14 * cos(t * 0.6))) - 0.095;
if (e2 < 0.0) { return vec4f(0.55, 1.45, 2.7, 1.0); }
let b = abs(p - vec2f(0.0, 0.02)) - vec2f(0.055, 0.24);
if (max(b.x, b.y) < 0.0) { return vec4f(0.04, 0.045, 0.055, 1.0); }
return vec4f(0.0, 0.0, 0.0, 0.0);
}
@fragment
fn fs_main(@builtin(position) pos: vec4f) -> @location(0) vec4f {
let uv = (pos.xy - 0.5 * u.resolution) / u.resolution.y;
let selfHit = rc_scene(uv, u.time);
if (selfHit.w > 0.5) {
let col = selfHit.xyz / (1.0 + selfHit.xyz);
return vec4f(pow(col, vec3f(1.0 / 2.2)), 1.0);
}
var rad = vec3f(0.0);
let tau = 6.2831853;
for (var i: i32 = 0; i < RAYS; i = i + 1) {
let ang = (f32(i) + 0.5) * tau / f32(RAYS);
let rd = vec2f(cos(ang), sin(ang));
var s: f32 = 0.012;
for (var k: i32 = 0; k < 28; k = k + 1) {
let h = rc_scene(uv + rd * s, u.time);
if (h.w > 0.5) {
rad = rad + h.xyz / (1.0 + s * s * 3.5);
break;
}
s = s + STEP_SCALE * (1.0 + 0.06 * f32(k));
}
}
let linear = (rad / f32(RAYS)) * LIGHT_GAIN;
let mapped = linear / (vec3f(1.0) + linear);
return vec4f(pow(clamp(mapped, vec3f(0.0), vec3f(1.0)), vec3f(1.0 / 2.2)), 1.0);
}Attribution: written for this index
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| radiance-cascades-live | Tesla T4 1920x1080 | 235× baseline (extreme) · 7.72 ms / 7.86 ms | opengl-timer-query · 40 frames · GPU Weight Atlas · Colab T4 sweep |
| radiance-cascades-live | NVIDIA L4 1920x1080 | 229× baseline (extreme) · 3.63 ms / 3.68 ms · 2.1× faster on L4 | opengl-timer-query · Cross-architecture validation |
| radiance-cascades-live | NVIDIA A100-SXM4-40GB 1920x1080 | 138× baseline (extreme) · 3.96 ms / 4.02 ms · 1.9× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): its primary source cites OpenVDB, NanoVDB.
Crosses
- A thin-occluder cascade zero: Screen-space radiance cascades whose short-range interval is gathered with visibility bitmasks, so thin occluders and the gaps between them stop being treated as infinitely thick, while the coarse cascades carry distant light.
- Palette-true pixel art with soft GI: 3D pixel art lit by penumbra-correct global illumination that still lands on a fixed palette. Cascades are cheap at the tiny internal resolution, and texel-snapping the camera keeps probes and pixels aligned so light does not crawl.
- Screen-Space Global Illumination: Screen-space depth and color provide the fast ray-marchable scene that cascades trace through.
Sources
- primaryRouli Freeman, Alexander Sannikov, Adrian Margel (2025). Holographic Radiance Cascades for 2D Global Illumination. arXiv preprint (cs.GR).Verified via arxiv · 2026-11-29arXiv:2505.02041
- primaryChristopher M. J. Osborne, Alexander Sannikov (2024). Radiance Cascades: A Novel High-Resolution Formal Solution for Multidimensional Non-LTE Radiative Transfer. arXiv preprint (astro-ph.SR).Verified via arxiv · 2026-11-29doi:10.1093/rasti/rzae062 · arXiv:2408.14425