---
id: "reinhard-tonemapping"
title: "Reinhard photographic tone reproduction"
aliases: [Reinhard operator]
domain: "post"
stage: "post"
realtime: "realtime"
platforms: [webgl2, webgpu, desktop-gpu, mobile-gpu, blender]
year_introduced: 2002
inputs: [hdr-image]
outputs: [ldr-image]
style: "photoreal"
dynamic: "both"
cost: "cheap"
authority: "Reinhard et al., 2002"
url: "https://texelatlas.vercel.app/t/reinhard-tonemapping/"
sources_verified_at: "2026-11-29"
---
# Reinhard photographic tone reproduction (Reinhard et al., 2002)

> The classic global operator x/(1+x), scaled by the scene's log-average luminance to a chosen key value, plus an extended form with a white point; simple, monotonic and well behaved.

## Reach for it when

- hdr values need squeezing to displayable range simply
- want an invertible predictable tone curve
- need debug view of hdr with no contrast boost
- taa resolve needs well-behaved luminance weighting

## How it works

Reinhard et al. borrow the zone system from photography. First, the log-average (geometric mean) luminance of the image is computed and the image is scaled so that this average maps to a key value, like 0.18 for a mid-tone scene. The global curve L/(1+L) then compresses the range into [0,1). The extended version divides by a white point, L(1+L/Lw^2)/(1+L), so values at Lw map to exactly 1. The paper also describes a local dodge-and-burn variant using multi-scale blurred luminance, though the global form is the one used in real-time. Applied per channel the curve desaturates highlights; applied to luminance only, hues are preserved but colours can go out of gamut.

## When to use it

Choose it when you want a simple, invertible, predictable curve, for example as a debug view or for TAA's luminance-weighted resolve.

Prefer [Hable filmic (Uncharted 2) tonemapping](https://texelatlas.vercel.app/t/hable-filmic-tonemapping.md) for more contrast and a toe, [ACES filmic tonemapping](https://texelatlas.vercel.app/t/aces-tonemapping.md) for film response, and [Khronos PBR Neutral tone mapper](https://texelatlas.vercel.app/t/khronos-pbr-neutral.md) for colour accuracy. Combine with [Auto exposure from luminance histogram](https://texelatlas.vercel.app/t/auto-exposure-histogram.md) to supply the key.

## Cost

cheap — Per-pixel arithmetic only.
Measured GPU Weight: 1.16× baseline (feather) — 0.0383 ms median / 0.0399 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 1.01× baseline (feather) — 0.016 ms median (2.39× faster on L4).
Ampere A100 scaling: 1× baseline (feather) — 0.0288 ms median (1.33× faster on A100).

## Failure modes

- Low-contrast, washed-out blacks because it lacks a toe
- Per-channel application desaturates and shifts hue in bright colours
- Highlights compress hard unless a white point is set
- Luminance-only variant can push saturated colours out of gamut

## Engine support

- babylonjs: builtin — `new BABYLON.TonemapPostProcess('t', BABYLON.TonemappingOperator.Reinhard, exposure, camera)` (evidence: https://github.com/BabylonJS/Babylon.js/blob/9.38.0/packages/dev/core/src/PostProcesses/thinTonemapPostProcess.ts, checked 2026-12-01)
- blender: builtin — `Compositor > Add > Color > Adjust > Tone Map, Type = Rh Simple` (evidence: https://docs.blender.org/manual/en/5.2/compositing/types/color/adjust/tone_map.html, checked 2026-12-01) — Rh Simple is a simplified Reinhard operator; R/D Photoreceptor is Reinhard-Devlin.
- godot: builtin — `Environment.tonemap_mode = Environment.TONE_MAPPER_REINHARDT` (evidence: https://github.com/godotengine/godot/blob/4.7.2-stable/doc/classes/Environment.xml, checked 2026-12-01)
- threejs: builtin — `renderer.toneMapping = THREE.ReinhardToneMapping` (evidence: https://github.com/mrdoob/three.js/blob/r187/src/constants.js, checked 2026-12-01)

## Dataflow

- Inputs: hdr-image
- Outputs: ldr-image
- Platforms: webgl2, webgpu, desktop-gpu, mobile-gpu, blender

## Presets

### Three HDR exposure ramps (grey, orange, cyan). Left: clamp. Right: extended Reinhard on luminance (glsl-fragment; rendered 2026-11-29)

```json
{
  "LW": 16
}
```

```glsl
float hash(vec2 c){uvec2 u=uvec2(ivec2(floor(c)));uint h=u.x*1597334673u^u.y*3812015801u;h^=h>>15;h*=2246822519u;h^=h>>13;h*=3266489917u;h^=h>>16;return float(h)*(1./4294967296.);}
float lum(vec3 c){return dot(c,vec3(.2126,.7152,.0722));}
vec3 gam(vec3 c){return pow(clamp(c,0.,1.),vec3(1./2.2));}

const float LW=16.0; // P
void mainImage(out vec4 fragColor,in vec2 fragCoord){
  vec2 uv=(fragCoord-.5*iResolution.xy)/iResolution.y;bool R=uv.x>0.;vec2 q=vec2(uv.x+(R?-.25:.25),uv.y);
  float e=exp2(mix(-4.,5.,clamp((q.x+.25)/.5,0.,1.)));
  int row=int(clamp(floor((uv.y+.5)*3.),0.,2.));
  vec3 base=row==0?vec3(.1,.7,1.):(row==1?vec3(1.,.45,.12):vec3(1.));
  vec3 c=base*e*.3;
  vec3 col;
  if(!R) col=gam(c);
  else{float L=lum(c),Ld=L*(1.+L/(LW*LW))/(1.+L);col=gam(c*Ld/max(L,1e-5));}
  if(fract((uv.y+.5)*3.)<.01)col=vec3(.1);
  if(abs(uv.x)<.0015)col=vec3(1.);
  fragColor=vec4(col,1.);
}
```

Attribution: written for this index

## Lineage

- extended by [Hable filmic (Uncharted 2) tonemapping](https://texelatlas.vercel.app/t/hable-filmic-tonemapping.md)

## Combines with

- [Auto exposure from luminance histogram](https://texelatlas.vercel.app/t/auto-exposure-histogram.md): The measured log-average luminance sets Reinhard's key scaling.

## Sources

1. [primary] Erik Reinhard, Michael Stark, Peter Shirley, James Ferwerda (2002) Photographic tone reproduction for digital images. Proceedings of the 29th annual conference on Computer graphics and interactive techniques. https://doi.org/10.1145/566570.566575 (verified via crossref on 2026-11-29)
2. [implementation] mrdoob (2010) mrdoob/three.js. https://github.com/mrdoob/three.js License: MIT. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Reinhard photographic tone reproduction." https://texelatlas.vercel.app/t/reinhard-tonemapping/ (accessed 2026-12-01).
