---
id: "multiple-scattering-octaves"
title: "Multiple-Scattering Approximation by Octaves"
aliases: [art-directable multiple scattering, Wrenninge multi-octave scattering]
domain: "volumes"
stage: "volume"
realtime: "interactive"
platforms: [desktop-gpu, webgpu, cpu, houdini, unreal]
year_introduced: 2013
inputs: [volume-density]
outputs: [radiance]
style: "photoreal"
dynamic: "both"
cost: "medium"
authority: "Wrenninge, 2015"
url: "https://texelatlas.vercel.app/t/multiple-scattering-octaves/"
sources_verified_at: "2026-11-29"
---
# Multiple-Scattering Approximation by Octaves (Wrenninge, 2015)

> Approximate many scattering orders by summing a few octaves of single scattering with progressively weaker extinction, lower anisotropy and lower contribution, so thick clouds stay bright inside.

## Reach for it when

- clouds look dark and flat inside
- thick smoke loses brightness with single scattering
- can't afford path-traced multiple scattering for clouds
- dense fog lacks soft glowing interior

## How it works

Single scattering lets light die quickly in dense media, making clouds look dark and flat. The approximation re-runs the same single-scatter calculation N times (typically 4 to 8), where octave i uses scaled coefficients: the extinction used for the light path is multiplied by a factor a to the i, the scattering contribution is multiplied by b to the i, and the phase function eccentricity g is scaled by c to the i. The three constants are all below one, and with a few octaves the sum mimics the diffusion of light into deeper regions and the loss of directionality. The results are summed per sample, either re-marching the light ray per octave or reusing one light march with scaled optical depths. The constants are art-directable knobs rather than physically derived, and they can be tuned to match a path-traced reference.

## When to use it

Choose it to rescue single-scatter clouds, smoke and fog when a path tracer is too expensive: it adds only a few extra exponentials per sample if you reuse the light-ray optical depth.

Prefer [Delta (Woodcock) Tracking](https://texelatlas.vercel.app/t/delta-tracking.md) for ground truth or offline production renders. Use it on top of [Nubis-style Ray-marched Volumetric Clouds](https://texelatlas.vercel.app/t/nubis-volumetric-clouds.md) or [Ray-marched Participating Media](https://texelatlas.vercel.app/t/volume-ray-marching.md) rather than as a standalone method. Prefer a precomputed multi-scattering LUT (see [Scalable Production Sky and Atmosphere (Hillaire)](https://texelatlas.vercel.app/t/hillaire-sky-atmosphere.md)) when the medium is a planetary atmosphere.

## Cost

medium — Cost scales linearly in the number of octaves; with a shared light march the extra work per octave is mostly ALU.
Measured GPU Weight: 1006.05× baseline (extreme) — 33.0989 ms median / 33.5662 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 827.86× baseline (extreme) — 13.163 ms median (2.51× faster on L4).
Ampere A100 scaling: 692.25× baseline (extreme) — 19.9368 ms median (1.66× faster on A100).

## Failure modes

- Not energy conserving: bad constants can make clouds glow or lose energy
- Matched only for the reference look it was tuned on; thin and thick media can need different constants
- Interior brightness loses contrast with no sense of cloud thickness when too many octaves are summed
- Does not capture view-dependent effects like glories
- Octave parameters lack a physical meaning, which makes automated tuning against a reference awkward

## Engine support

- unity: builtin — `Volume > Volumetric Clouds > Multi Scattering` (evidence: https://github.com/Unity-Technologies/Graphics/blob/557f6ac22b948284f57ffae6a789751fd1f63620/Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricClouds/VolumetricCloudsUtilities.hlsl, checked 2026-12-01) — HDRP clouds use a 2-octave multiple-scattering approximation.
- unreal: builtin — `Volumetric Cloud Material > VolumetricAdvancedMaterialOutput (const_multi_scattering_contribution, const_multi_scattering_eccentricity octaves)` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/MaterialExpressionVolumetricAdvancedMaterialOutput, checked 2026-12-01)

## Dataflow

- Inputs: volume-density
- Outputs: radiance
- Platforms: desktop-gpu, webgpu, cpu, houdini, unreal

## Presets

### Backlit cloud: 1 scattering octave (left) vs 6 octaves (right) (glsl-fragment; rendered 2026-11-29)

```json
{
  "SIGMA": 6,
  "OCT_A": 0.5,
  "OCT_B": 0.5,
  "OCT_C": 0.5,
  "G_ANISO": 0.6
}
```

```glsl
// Backlit cloud with the multiple-scattering octave approximation (Wrenninge):
// sum_n a^n * exp(-tau_light * b^n) * HG(cos, g * c^n).  Left half: 1 octave (single scattering).
// Right half: 6 octaves.  Same cloud, same light.
const float SIGMA = 6.0;
const float OCT_A = 0.5;
const float OCT_B = 0.5;
const float OCT_C = 0.5;
const float G_ANISO = 0.6;

float h31(vec3 p) { p = fract(p * 0.1031); p += dot(p, p.zyx + 31.32); return fract((p.x + p.y) * p.z); }
float vn(vec3 x) {
  vec3 i = floor(x), f = fract(x); f = f * f * (3.0 - 2.0 * f);
  return mix(mix(mix(h31(i), h31(i + vec3(1, 0, 0)), f.x), mix(h31(i + vec3(0, 1, 0)), h31(i + vec3(1, 1, 0)), f.x), f.y),
             mix(mix(h31(i + vec3(0, 0, 1)), h31(i + vec3(1, 0, 1)), f.x), mix(h31(i + vec3(0, 1, 1)), h31(i + vec3(1, 1, 1)), f.x), f.y), f.z);
}
float dens(vec3 p) {
  float shape = 1.0 - length(p / vec3(1.1, 0.75, 1.1));
  float n = 0.5 * vn(p * 2.5) + 0.25 * vn(p * 5.0) + 0.125 * vn(p * 10.0);
  return clamp((shape + (n - 0.4) * 0.9) * 2.5, 0.0, 1.0) * SIGMA;
}
float hg(float c, float g) { float g2 = g * g; return (1.0 - g2) / (12.566 * pow(1.0 + g2 - 2.0 * g * c, 1.5)); }
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
  vec3 ro = vec3(0.0, 0.2, 3.6), rd = normalize(vec3(uv, -1.8));
  vec3 L = normalize(vec3(0.4, 0.5, -0.7));
  int octs = fragCoord.x < 0.5 * iResolution.x ? 1 : 6;
  vec3 bg = vec3(0.3, 0.5, 0.85) * (0.75 + 0.5 * uv.y);
  float b = dot(ro, rd); float hh = b * b - dot(ro, ro) + 2.25;
  vec3 col = bg;
  if (hh > 0.0) {
    float t0 = -b - sqrt(hh), t1 = -b + sqrt(hh); float ds = (t1 - t0) / 48.0;
    float T = 1.0; vec3 S = vec3(0.0); float cs = dot(L, rd);
    for (int i = 0; i < 48; i++) {
      vec3 p = ro + rd * (t0 + (float(i) + 0.5) * ds); float d = dens(p);
      if (d < 0.01) continue;
      float tau = 0.0;
      for (int k = 1; k <= 6; k++) tau += dens(p + L * float(k) * 0.2) * 0.2;
      float li = 0.0;
      for (int n = 0; n < 6; n++) {
        if (n >= octs) break;
        float fn = float(n);
        li += pow(OCT_A, fn) * exp(-tau * pow(OCT_B, fn)) * hg(cs, G_ANISO * pow(OCT_C, fn));
      }
      vec3 amb = vec3(0.35, 0.5, 0.8) * 0.06 * (0.6 + 0.4 * p.y);
      S += T * (vec3(1.0, 0.95, 0.85) * li * 9.0 + amb) * d * ds;
      T *= exp(-d * ds);
    }
    col = bg * T + S;
  }
  if (abs(fragCoord.x - 0.5 * iResolution.x) < 1.0) col = vec3(1.0);
  col = 1.0 - exp(-col * 1.4);
  fragColor = vec4(pow(col, vec3(1.0 / 2.2)), 1.0);
}

```

Attribution: written for this index

## Lineage

- extended by [Nubis-style Ray-marched Volumetric Clouds](https://texelatlas.vercel.app/t/nubis-volumetric-clouds.md)

## Combines with

- [Nubis-style Ray-marched Volumetric Clouds](https://texelatlas.vercel.app/t/nubis-volumetric-clouds.md): Takes the density and per-sample light march from the cloud marcher and brightens interiors.
- [Henyey-Greenstein Phase Function](https://texelatlas.vercel.app/t/henyey-greenstein-phase-function.md): Each octave uses an HG lobe with a reduced asymmetry.

## Sources

1. [primary] Magnus Wrenninge (2015) Art-directable multiple volumetric scattering. ACM SIGGRAPH 2015 Talks. https://doi.org/10.1145/2775280.2792512 (verified via crossref on 2026-11-29)
2. [primary] Julian Fong, Magnus Wrenninge, Christopher Kulla, Ralf Habel (2017) Production volume rendering. ACM SIGGRAPH 2017 Courses. https://doi.org/10.1145/3084873.3084907 (verified via crossref on 2026-11-29)

## Cite this entry

Texel. "Multiple-Scattering Approximation by Octaves." https://texelatlas.vercel.app/t/multiple-scattering-octaves/ (accessed 2026-12-01).
