Light Stage Reflectance Capture
Photographs a subject lit from many directions, one at a time, to record its reflectance field, enabling relighting and recovery of albedo, normals and specular layers.
Also known as light stage, reflectance field capture
In the family Capture, reconstruction & splatting, appearance capture
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 | Not applicable | Offline reconstruction/generative method, not an engine feature. |
| Unity | None found | |
| Unreal 5.7 | None found | External hardware capture rig and reconstruction pipeline; not built into Unreal Engine. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
A rig of many point-like light sources on a sphere around the subject is flashed in sequence while a calibrated camera captures an image per light. Because light transport is linear, the stack of images is the subject's reflectance field sampled at the light directions. Any lighting environment is reproduced by weighting each basis image by the environment's radiance in that direction and summing, which gives physically correct relighting with all inter-reflection and subsurface effects included. Later systems add polarised lighting to separate specular from diffuse components, and gradient illumination patterns to estimate normals and albedo with few frames. These measurements feed photoreal digital humans and give training data for appearance models.
When to choose it
Reach for it when
- need to relight a captured face or object
- want highest quality skin appearance capture
- need albedo, normals and specular from real subject
- baked lighting in captures prevents relighting
Choose it for the highest-fidelity skin or object appearance capture and relighting when you can build or access a rig. Prefer Photometric Stereo for a cheaper, small-scale rig that only needs normals and albedo, Neural Radiance Fields (NeRF) or 3D Gaussian Splatting for casual capture with baked-in lighting, and Universal Photometric Stereo (SDM-UniPS) for handheld varying light.
Field marks
- Subject motion between flashes causes ghosting unless frames are aligned
- Finite light count restricts relighting to low-to-mid frequency environments, with sharp highlights stepping
- Needs large, calibrated hardware, so cost and access are limiting
- Polarisation separation fails for strongly depolarising materials
Presets
Light Stage Reflectance Capture — cross-polarized diffuse (left) vs full polarized SH relighting (right)
{
"P_ENV_ROT": 0.75,
"P_SPEC_SEP": 1,
"P_LED_DOME": 0.85,
"P_SPLIT": 0.48
}Show GLSL (136 lines)
const float P_ENV_ROT = 0.75; // P Relight Orbit [0.0, 2.2, 0.05]
const float P_SPEC_SEP = 1.0; // P Specular Lobe [0.0, 2.0, 0.05]
const float P_LED_DOME = 0.85; // P LED Dome Nodes [0.0, 1.5, 0.05]
const float P_SPLIT = 0.48; // P Diffuse / Relit Split [0.0, 1.0, 0.02]
mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }
float smin(float a, float b, float k) {
float h = clamp(0.5 + 0.5 * (b - a) / max(k, 1e-4), 0.0, 1.0);
return mix(b, a, h) - k * h * (1.0 - h);
}
// Sculpted classical portrait bust inside the geodesic Light Stage capture sphere
float mapBust(vec3 p) {
// Cranium + jaw + nose bridge + brow ridge + neck/shoulders
float dHead = length(vec3(p.x * 1.15, (p.y - 0.14) * 0.90, p.z * 1.05)) - 0.42;
float dJaw = length(vec3(p.x * 1.25, (p.y + 0.10) * 1.1, (p.z - 0.08) * 1.15)) - 0.30;
float dNose = length(vec3(p.x * 2.4, (p.y - 0.08) * 1.2, (p.z - 0.38) * 1.6)) - 0.10;
float dBrow = length(vec3(p.x * 0.9, (p.y - 0.22) * 3.0, (p.z - 0.30) * 2.2)) - 0.14;
float dNeck = max(length(p.xz - vec2(0.0, -0.04)) - 0.16, abs(p.y + 0.42) - 0.24);
float dShoulders = length(vec3(p.x * 0.55, (p.y + 0.68) * 1.4, p.z * 1.25)) - 0.36;
float face = smin(dHead, dJaw, 0.14);
face = smin(face, dNose, 0.05);
face = smin(face, dBrow, 0.06);
// Subtle eye-socket indentations for rich grazing specular + diffuse subsurface cues
float dEyes = length(vec3(abs(p.x) - 0.13, p.y - 0.15, p.z - 0.33)) - 0.075;
face = max(face, -dEyes * 0.45);
float bust = smin(face, dNeck, 0.08);
bust = smin(bust, dShoulders, 0.10);
return bust * 0.85;
}
vec3 calcNormal(vec3 p) {
vec2 e = vec2(0.0022, 0.0);
return normalize(vec3(
mapBust(p + e.xyy) - mapBust(p - e.xyy),
mapBust(p + e.yxy) - mapBust(p - e.yxy),
mapBust(p + e.yyx) - mapBust(p - e.yyx)
));
}
// Spherical-Harmonic relighting basis reconstructed from OLAT Light Stage dome captures
vec3 evalLightStageEnv(vec3 dir, float rotAng) {
vec3 d = dir;
d.xz = rot2(rotAng) * d.xz;
// Studio key (warm sunset), rim (electric cyan), overhead softbox
vec3 keyDir = normalize(vec3(0.68, 0.48, 0.55));
vec3 rimDir = normalize(vec3(-0.75, 0.25, -0.52));
vec3 fillDir = normalize(vec3(0.0, 0.92, -0.25));
vec3 env = vec3(0.08, 0.10, 0.15);
env += vec3(2.4, 1.55, 0.88) * pow(max(dot(d, keyDir), 0.0), 3.0);
env += vec3(0.35, 1.35, 1.95) * pow(max(dot(d, rimDir), 0.0), 4.0);
env += vec3(0.75, 0.82, 0.95) * max(dot(d, fillDir), 0.0) * 0.65;
return env;
}
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;
float screenX = fragCoord.x / max(iResolution.x, 1.0);
float split = clamp(P_SPLIT, 0.0, 1.0);
bool isFullRelit = screenX >= split;
float envRot = iTime * max(P_ENV_ROT, 0.0);
float specGain = clamp(P_SPEC_SEP, 0.0, 2.2);
float domeVis = clamp(P_LED_DOME, 0.0, 1.5);
vec3 ro = vec3(0.0, 0.04, 2.25);
vec3 rd = normalize(vec3(uv, -1.55));
// Background: geodesic Light Stage spherical LED dome with active OLAT/gradient LEDs!
vec3 domeDir = normalize(vec3(uv * 1.45, -1.0));
float theta = atan(domeDir.x, -domeDir.z);
float phi = asin(clamp(domeDir.y, -1.0, 1.0));
vec2 ledGrid = vec2(theta * 5.0, phi * 5.0);
vec2 ledCell = floor(ledGrid);
vec2 ledF = fract(ledGrid) - 0.5;
float ledDot = smoothstep(0.16, 0.05, length(ledF));
float strut = smoothstep(0.05, 0.012, min(abs(ledF.x), abs(ledF.y)));
vec3 ledCol = evalLightStageEnv(domeDir, envRot);
vec3 col = vec3(0.022, 0.028, 0.042) + vec3(0.05, 0.07, 0.11) * strut * min(domeVis, 1.0);
col += ledCol * ledDot * 0.85 * min(domeVis, 1.2);
float t = 0.0;
bool hit = false;
for (int i = 0; i < 68; i++) {
float d = mapBust(ro + rd * t);
if (d < 0.002) { hit = true; break; }
t += d;
if (t > 7.0) break;
}
if (hit) {
vec3 p = ro + rd * t;
vec3 n = calcNormal(p);
vec3 v = -rd;
// Fine skin/stone pore micro-normal perturbation (captured by Light Stage specular normal map!)
float pore = sin(p.x * 85.0) * sin(p.y * 85.0) * cos(p.z * 85.0);
vec3 nSpec = normalize(n + vec3(pore, -pore, 0.0) * 0.045);
// Subsurface warm diffuse albedo (captured via cross-polarized spherical gradient illumination)
vec3 diffAlb = mix(vec3(0.76, 0.54, 0.44), vec3(0.84, 0.66, 0.56), clamp(p.y + 0.35, 0.0, 1.0));
// Diffuse irradiance from SH Light Stage integration (softened normal for subsurface wrap)
vec3 diffIrr = evalLightStageEnv(n, envRot) * 0.55 + evalLightStageEnv(normalize(n + vec3(0.0, 0.3, 0.2)), envRot) * 0.25;
vec3 diffusePart = diffAlb * diffIrr * 0.72;
if (!isFullRelit) {
// Left: Cross-polarized capture isolates pure diffuse subsurface albedo (zero specular shine!)
col = diffusePart;
} else {
// Right: Full separated reflectance field = diffuse + polarized dual-lobe specular + Fresnel rim
vec3 rDir = reflect(-v, nSpec);
float fres = 0.035 + 0.965 * pow(1.0 - max(dot(nSpec, v), 0.0), 5.0);
vec3 specEnv = evalLightStageEnv(rDir, envRot);
// Primary crisp oil-sheen specular + broader micro-roughness specular
vec3 kDir = normalize(vec3(0.68, 0.48, 0.55));
kDir.xz = rot2(-envRot) * kDir.xz;
float sLobe1 = pow(max(dot(nSpec, normalize(kDir + v)), 0.0), 68.0);
float sLobe2 = pow(max(dot(nSpec, normalize(kDir + v)), 0.0), 16.0);
vec3 specPart = (specEnv * fres * 0.85 + vec3(1.0, 0.92, 0.84) * (sLobe1 * 0.95 + sLobe2 * 0.28)) * specGain;
col = diffusePart + specPart;
}
}
float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
col = mix(col, vec3(0.95, 0.97, 1.0), sep);
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Attribution: MIT — written for this index.
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| light-stage-reflectance-capture-live | Tesla T4 1920x1080 | 26.9× baseline (heavy) · 0.832 ms / 0.842 ms | opengl-timer-query · 36 frames · GPU Weight Atlas · Colab T4 sweep |
| light-stage-reflectance-capture-live | NVIDIA L4 1920x1080 | 20.2× baseline (heavy) · 0.321 ms / 0.323 ms · 2.6× faster on L4 | opengl-timer-query · Cross-architecture validation |
| light-stage-reflectance-capture-live | NVIDIA A100-SXM4-40GB 1920x1080 | 18.6× baseline (moderate) · 0.537 ms / 0.541 ms · 1.6× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): cited by Precomputed Radiance Transfer, Spherical-Harmonic Lighting (Irradiance Environment Maps), All-Frequency Shadows via Wavelet Lighting.
Crosses
- ReSTIR GI relighting of light-stage reflectance captures: Separating polarized diffuse and specular micro-normals from a light-stage scan directly into a ReSTIR GI reservoir pass lets captured faces and hero props absorb crisp multi-bounce room color bleeding in real time without precomputed OLAT convolution.
- Photometric Stereo: Light stage frames provide the multi-light images from which normals and albedo are solved.
Sources
- primaryPaul Debevec, Tim Hawkins, Chris Tchou, Haarm-Pieter Duiker, Westley Sarokin, Mark Sagar (2000). Acquiring the reflectance field of a human face. Proceedings of the 27th annual conference on Computer graphics and interactive techniques - SIGGRAPH '00.Verified via crossref · 2026-11-29doi:10.1145/344779.344855