Physical light units, photometry and camera exposure
Author lights in photometric units (lux, lumens, candela, nits) and convert scene radiance to display values with an exposure derived from aperture, shutter and ISO, so lighting stays consistent across sun, lamps and screens.
Also known as EV100 exposure, photometric units, lux and lumen lighting, physically based camera
In the family Light transport & global illumination, lighting units
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | Built in | PointLight/SpotLight intensity in candela (cd), .power in lumens (lm), WebGLRenderer.toneMappingExposure docs |
| Babylon.js 9.38.0 | Built in | light.intensityMode = Light.INTENSITYMODE_LUMINOUSPOWER (or LUMINOUSINTENSITY / ILLUMINANCE / LUMINANCE) with scene.imageProcessingConfiguration.exposure docs |
| Godot 4.7 | Built in | CameraAttributesPhysical (aperture, shutter, ISO) on Camera3D/Environment; Light3D.light_intensity_lumens/lux docs |
| Unity | Built in | HDRP Volume > Exposure; Light > Intensity unit Lux/Lumen/Candela/EV100 docs HDRP. |
| Unreal 5.7 | Built in | Light > Intensity Units (Candelas, Lumens, EV, Nits); camera or Post Process Volume > Exposure (EV100) docs |
| Blender 5.2 | None found | Lights use Watts (radiometric); exposure is a color-management slider. |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Photometric lighting specifies each source with a measured quantity: illuminance in lux for the sun, luminous power in lumens or intensity in candela for lamps, luminance in nits for emissive surfaces. A Lambertian surface with albedo a under illuminance E has outgoing luminance a * E / pi, so these numbers drive shading directly and an overcast day, a living room and a night street come out at plausible ratios.
The frame buffer stores scene-referred luminance, which spans many orders of magnitude, so a virtual camera is applied before tonemapping. Exposure value is EV100 = log2(N^2 / t * 100 / S) for aperture N, shutter t and ISO S; a saturation-based convention divides luminance by 1.2 * 2^EV100, and mid-grey ends up near 0.18 when EV matches the scene. Auto exposure (Auto exposure from luminance histogram) picks the EV from the image.
Good practice is to keep lights in physical units, set one exposure value, and apply tonemapping afterwards, as described in the Frostbite PBR course notes; glTF's punctual-light extension fixes lux and candela as the exchange units.
When to choose it
Reach for it when
- sun and lamps have inconsistent relative brightness
- want camera-like aperture shutter and iso controls
- scene is blown out or black after changing lights
- how to set light intensity in real world units
Choose it whenever more than one light type shares a scene, when scenes must be relit at different times of day, or when you need artist-friendly camera controls (aperture, shutter, ISO) that behave like photography.
Prefer Auto exposure from luminance histogram to drive the EV automatically on top of physical units rather than replacing them. Prefer AgX, ACES filmic tonemapping or Khronos PBR Neutral tone mapper for the display transform applied after exposure. Skip full photometry for stylised or UI-lit scenes where unitless intensities are fine; see Toon / cel shading with lighting ramps.
Field marks
- Mixing unitless and photometric lights gives sun and lamps wildly different relative brightness
- Half-float buffers overflow with sun-level luminance unless exposure is pre-applied in the lighting pass
- Lumens to candela conversion forgotten for spot lights (the cone solid angle must be taken into account)
- Exposure jumps when moving between bright and dark areas appear as flicker if adaptation is not smoothed
- Emissive materials authored in 0 to 1 look black next to a 100000 lux sun
- Bloom thresholds expressed in unexposed units fire everywhere or nowhere
Presets
Sunlit grey sphere across EV100 11 to 19
{
"sun_lux": 100000,
"albedo": 0.18,
"ev_first": 11,
"columns": 9
}Show GLSL (32 lines)
// Exposure ladder: one sunlit sphere rendered at EV100 = 11..19 (scene-referred luminance, then camera exposure).
const float SUN_LUX = 100000.0; // clear-day sun illuminance
const float ALBEDO = 0.18; // grey card
const float EV_FIRST = 11.0;
const float COLS = 9.0;
vec3 aces(vec3 x) { return clamp((x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14), 0.0, 1.0); }
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = fragCoord / iResolution.xy;
float cell = floor(uv.x * COLS);
vec2 p = vec2(fract(uv.x * COLS) - 0.5, (uv.y - 0.55) * COLS * iResolution.y / iResolution.x * 1.0);
float ev100 = EV_FIRST + cell;
float exposure = 1.0 / (1.2 * exp2(ev100)); // saturation-based exposure
vec3 L = normalize(vec3(-0.5, 0.6, 0.6));
float r2 = dot(p, p);
vec3 radiance;
if (r2 < 0.2) {
vec3 n = vec3(p, sqrt(0.2 - r2) / sqrt(0.2));
n = normalize(vec3(p / sqrt(0.2), n.z));
float ndl = max(dot(n, L), 0.0);
vec3 sky = vec3(0.35, 0.5, 0.8) * 12000.0 * (0.5 + 0.5 * n.y); // sky illuminance in lux
radiance = ALBEDO / 3.14159 * (SUN_LUX * ndl * vec3(1.0, 0.96, 0.9) + sky);
} else {
float g = 0.5 + 0.5 * uv.y;
radiance = vec3(0.30, 0.45, 0.70) * 2500.0 * g; // bright sky background, cd/m^2
}
vec3 c = aces(radiance * exposure);
c *= 0.6 + 0.4 * smoothstep(0.0, 0.01, abs(fract(uv.x * COLS) - 0.5) * -1.0 + 0.5);
fragColor = vec4(pow(c, vec3(1.0 / 2.2)), 1.0);
}
Attribution: written for this index
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| exposure-ladder-ev100 | Tesla T4 1920x1080 | 1.32× baseline (feather) · 0.043 ms / 0.045 ms | opengl-timer-query · 40 frames · GPU Weight Atlas · Colab T4 sweep |
| exposure-ladder-ev100 | NVIDIA L4 1920x1080 | 1.15× baseline (feather) · 0.018 ms / 0.018 ms · 2.4× faster on L4 | opengl-timer-query · Cross-architecture validation |
| exposure-ladder-ev100 | NVIDIA A100-SXM4-40GB 1920x1080 | 1.00× baseline (feather) · 0.029 ms / 0.029 ms · 1.5× faster on A100 | opengl-timer-query · Cross-architecture validation |
Crosses
- Auto exposure from luminance histogram: Photometric luminance goes in; the histogram metering chooses the EV100 that scales it into display range.
- AgX: Exposed scene-referred values are the input to the display transform; getting units right first avoids tuning the tonemapper to hide lighting errors.
- Linearly Transformed Cosines for Area Lights: Area emitters specified in nits or lumens integrate to the same physical radiance as punctual lights when units are consistent.
Sources
- primarySébastien Lagarde, Charles de Rousiers. Moving Frostbite to Physically Based Rendering. SIGGRAPH 2014 course.Verified via live page · 2026-11-29
- tutorialRomain Guy, Mathias Agopian. Filament: Physically based rendering (image based lights section). google.github.io.Verified via live page · 2026-11-29