Split-Sum Image-Based Lighting
Approximates the specular environment lighting integral as a product of two precomputed terms: a roughness-prefiltered environment cubemap and a 2D lookup table of BRDF scale and bias. Costs two texture reads per pixel.
Also known as split sum approximation, prefiltered environment map, PBR IBL
In the family Light transport & global illumination, environment lighting
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | Built in | scene.environment = pmremGenerator.fromEquirectangular(hdr).texture docs |
| Babylon.js 9.38.0 | Built in | scene.environmentTexture = BABYLON.CubeTexture.CreateFromPrefilteredData(url, scene) (PBR uses BRDF LUT) docs |
| Godot 4.7 | Built in | Environment.background_mode = Sky; Sky.radiance_size docs Sky radiance cubemap is prefiltered for specular IBL. |
| Unity | Built in | Lighting > Environment; Reflection Probe (prefiltered GGX cubemaps) docs HDRP pre-integrated FGD split-sum IBL; URP uses an analytic variant. |
| Unreal 5.7 | Built in | Place Actors > Lights > Sky Light and Reflection Captures (prefiltered environment cubemap specular IBL) docs |
| Blender 5.2 | Built in | EEVEE > Light Probes (environment cubemap + split-sum GGX BRDF lookup) docs |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Evaluating the full specular integral integral L(l) f(l, v) cos(theta) dl per pixel is too slow. The split-sum approximation separates it into two independent sums: the average incoming radiance weighted by the normal distribution, and the average BRDF response with a constant white environment.
Prefiltered environment map: an HDR cubemap is convolved offline with a GGX lobe for each roughness level and stored in the mip chain (mip index maps to roughness). The assumption n = v = r makes the lookup depend only on the reflection direction and roughness. Importance sampling with a few hundred samples per texel, optionally weighted by n . l, builds each mip.
BRDF integration LUT: a 2D texture indexed by n . v and roughness stores a scale and bias applied to F0. It is computed once for the BRDF and is independent of the environment.
At runtime: specular = prefilteredColor(r, roughness) * (F0 * A + B). Diffuse IBL uses a separate irradiance map or Spherical-Harmonic Lighting (Irradiance Environment Maps).
When to choose it
Reach for it when
- reflections from an environment map for pbr
- realtime image based lighting for glossy surfaces
- specular ibl is too expensive per pixel
- metals look dull without environment reflections
Choose it as the default environment reflection and ambient specular in real-time PBR: skylights, studio HDRIs, reflection probes.
Prefer Spherical-Harmonic Lighting (Irradiance Environment Maps) for the diffuse half. Prefer Linearly Transformed Cosines for Area Lights for local area emitters with proper highlights. Prefer Unidirectional Path Tracing or screen-space reflections where correct occlusion of the reflection is required, since split-sum environment lookups are unoccluded.
Field marks
- Specular occlusion missing: reflections of the sky appear inside crevices and under objects unless multiplied by an AO or specular-occlusion term
- Assuming n = v = r flattens grazing-angle reflections and misses the stretched highlight of real GGX
- Seams or aliasing at cubemap mip boundaries when prefiltered filtering is low-quality
- Parallax error for local probes unless box-projected or corrected
Presets
Split-sum spheres: roughness vs metalness
{
"cols": 5,
"rows": 3
}Show GLSL (45 lines)
// GLSL ES 3.0, Shadertoy-style. Grid of spheres: roughness left to right, metalness bottom to top.
// Specular uses Karis's analytic EnvBRDFApprox in place of the split-sum LUT; the "prefiltered" env is faked
// by blending the sharp environment toward its blurred average as roughness grows.
const float COLS = 5.0;
const float ROWS = 3.0;
vec3 env(vec3 d){
vec3 sky = mix(vec3(0.75,0.85,1.0), vec3(0.2,0.4,0.9), clamp(d.y,0.0,1.0));
vec3 gnd = vec3(0.25,0.2,0.16);
vec3 c = d.y > 0.0 ? sky : gnd;
c += vec3(12.0,10.0,7.0) * pow(max(dot(d, normalize(vec3(0.5,0.6,0.6))),0.0), 80.0);
return c;
}
vec3 envBlur(vec3 d, float r){ return mix(env(d), vec3(0.45,0.5,0.55), r*r*0.8) ; }
vec3 envBRDFApprox(vec3 spec, float rough, float NoV){
const vec4 c0 = vec4(-1.0,-0.0275,-0.572,0.022);
const vec4 c1 = vec4(1.0,0.0425,1.04,-0.04);
vec4 r = rough*c0 + c1;
float a004 = min(r.x*r.x, exp2(-9.28*NoV))*r.x + r.y;
vec2 AB = vec2(-1.04,1.04)*a004 + r.zw;
return spec*AB.x + AB.y;
}
void mainImage(out vec4 fragColor, in vec2 fragCoord){
vec2 uv = fragCoord / iResolution.xy;
vec3 bg = mix(vec3(0.1), vec3(0.2), uv.y);
vec2 g = vec2(uv.x*COLS, uv.y*ROWS);
vec2 id = floor(g);
vec2 p = (fract(g) - 0.5) * 2.0 * 1.12;
p.x *= iResolution.x/iResolution.y * ROWS/COLS;
if (dot(p,p) > 1.0) { fragColor = vec4(bg,1.0); return; }
vec3 n = vec3(p, sqrt(1.0 - dot(p,p)));
vec3 v = vec3(0,0,1);
float rough = clamp((id.x + 0.5)/COLS, 0.05, 1.0);
float metal = id.y/(ROWS-1.0);
vec3 base = vec3(0.95,0.64,0.54);
vec3 f0 = mix(vec3(0.04), base, metal);
vec3 diff = (1.0-metal)*base * env(n)*0.0 ;
// irradiance approximated by a very blurred environment
diff = (1.0-metal)*base*envBlur(n, 1.0);
vec3 r = reflect(-v, n);
float NoV = max(dot(n,v), 0.0);
vec3 spec = envBlur(r, rough) * envBRDFApprox(f0, rough, NoV);
vec3 col = diff + spec;
col = col/(1.0+col);
fragColor = vec4(pow(col, vec3(1.0/2.2)), 1.0);
}Attribution: written for this index; uses the analytic EnvBRDFApprox from Karis's mobile PBR notes in place of the precomputed LUT
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| split-sum-sphere-grid | Tesla T4 1920x1080 | 1.86× baseline (feather) · 0.061 ms / 0.065 ms | opengl-timer-query · 40 frames · GPU Weight Atlas · Colab T4 sweep |
| split-sum-sphere-grid | NVIDIA L4 1920x1080 | 1.49× baseline (feather) · 0.024 ms / 0.024 ms · 2.6× faster on L4 | opengl-timer-query · Cross-architecture validation |
| split-sum-sphere-grid | NVIDIA A100-SXM4-40GB 1920x1080 | 1.17× baseline (feather) · 0.034 ms / 0.034 ms · 1.8× faster on A100 | opengl-timer-query · Cross-architecture validation |
Crosses
- Spherical-Harmonic Lighting (Irradiance Environment Maps): SH irradiance covers the diffuse term and the prefiltered cubemap covers the specular term of the same environment.
Sources
- primaryBrian Karis. Real Shading in Unreal Engine 4. SIGGRAPH 2013 Physically Based Shading in Theory and Practice.Verified via live page · 2026-11-29