---
id: "radiance-cascades"
title: "Radiance Cascades"
aliases: [RC, holographic radiance cascades]
domain: "gi"
stage: "lighting"
realtime: "realtime"
platforms: [webgl2, webgpu, desktop-gpu]
year_introduced: 2023
inputs: [sdf, gbuffer, radiance]
outputs: [radiance]
style: "both"
dynamic: "dynamic"
cost: "medium"
authority: "Freeman et al., 2025"
url: "https://texelatlas.vercel.app/t/radiance-cascades/"
sources_verified_at: "2026-11-29"
---
# Radiance Cascades (Freeman et al., 2025)

> 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.

## 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

## 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 use it

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 [ddgi](ddgi) when you have a hardware ray tracer and a 3D scene with probes on a world grid. Prefer [screen-space-gi](screen-space-gi) when you only need a cheap gather of nearby bounce light in a deferred pipeline. Prefer [lumen-gi](lumen-gi) when you need a production 3D solution. Prefer [light-propagation-volumes](light-propagation-volumes) when you can accept very coarse 3D propagation.

## Cost

medium — Fixed per-pixel work for a given number of cascades; 2D implementations run comfortably in a few milliseconds at 1080p on desktop GPUs, 3D variants are much heavier.
Measured GPU Weight: 234.65× baseline (extreme) — 7.72 ms median / 7.8575 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 228.5× baseline (extreme) — 3.6332 ms median (2.12× faster on L4).
Ampere A100 scaling: 137.6× baseline (extreme) — 3.9629 ms median (1.95× faster on A100).

## Failure modes

- 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

## Dataflow

- Inputs: sdf, gbuffer, radiance
- Outputs: radiance
- Platforms: webgl2, webgpu, desktop-gpu

## Presets

### 2D Radiance Cascades — hierarchical interval probe GI with penumbra-correct colored shadows (glsl-fragment; rendered 2026-11-30)

```json
{
  "CASCADES": 4,
  "RAYS": 24,
  "BASE_INTERVAL": 0.08,
  "FALLOFF": 1.6
}
```

```glsl
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) (webgpu-wgsl; WebGPU WGSL runtime)

```json
{
  "RAYS": 16,
  "STEP_SCALE": 0.018,
  "LIGHT_GAIN": 1.4
}
```

```wgsl
// 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

## Combines with

- [Screen-Space Global Illumination](https://texelatlas.vercel.app/t/screen-space-gi.md): Screen-space depth and color provide the fast ray-marchable scene that cascades trace through.

## Combination ideas

- [A thin-occluder cascade zero](https://texelatlas.vercel.app/ideas/bitmask-near-field-cascades/)
- [Palette-true pixel art with soft GI](https://texelatlas.vercel.app/ideas/cascade-gi-pixel-art/)

## Sources

1. [primary] Rouli Freeman, Alexander Sannikov, Adrian Margel (2025) Holographic Radiance Cascades for 2D Global Illumination. arXiv preprint (cs.GR). https://arxiv.org/abs/2505.02041 (verified via arxiv on 2026-11-29)
2. [primary] Christopher 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). https://arxiv.org/abs/2408.14425 (verified via arxiv on 2026-11-29)
3. [primary] Raikiri (2024) Raikiri/RadianceCascadesPaper. https://github.com/Raikiri/RadianceCascadesPaper License: MIT. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Radiance Cascades." https://texelatlas.vercel.app/t/radiance-cascades/ (accessed 2026-12-01).
