Email us

Renders and passes.

A render is really a stack of layers (light, colour and data) that add back up to the picture you see, and having them separate means a compositor can change things without waiting on another render. We split one frame of the Controls Kit hero into every pass Cycles can write, then put it back together to check the sums.

layers in one EXR
37
of pixels brighter than white
9.7%
white: the hottest pixel
774×
1280×720 · 384 spp
93 s
COMBINED · AgX
diffuse light
diffuse light
glossy light
glossy light
albedo
albedo
depth
depth
normal
normal
position
position
cryptomatte
cryptomatte
AO
AO
THE MORPHING DESK · CONTROLS KIT HERO CAMERA · CYCLES 5.3, METAL · NO DENOISER, SO THE PASSES SUM EXACTLY · PASS PREVIEWS USE A SIMPLE SHOULDER CURVE
01

The light adds up

combined = Σ (direct + indirect) × colour + emission + world
Diffusematte bounce
Diffuse direct
Diffuse direct
+
Diffuse indirect
Diffuse indirect
×
Diffuse colour
Diffuse colour
=
Diffuse light
Diffuse light
53.1%of the frame's light
Glossyreflections
Glossy direct
Glossy direct
+
Glossy indirect
Glossy indirect
×
Glossy colour
Glossy colour
=
Glossy light
Glossy light
43.7%of the frame's light
Transmissionglass, screens
Transmission direct
Transmission direct
+
Transmission indirect
Transmission indirect
×
Transmission colour
Transmission colour
=
Transmission light
Transmission light
2.4%of the frame's light
Rebuilt from the passes
Rebuilt from the passes
Combined, as rendered
Combined, as rendered
Difference × 1000
Difference × 1000
Where the light comes from
DIFFUSE 53%
GLOSSY 44%

Transmission 2.4% · emission 0.56% · world 0.27% · volume 0. When we added it all back up, the error averaged 0.0020 (0.047 at the 99.9th percentile). That comes from storing it as compressed half floats with DWAA. The maths itself adds up.

Once it's in comp you can grade each row by itself. Warm up the diffuse, get rid of a reflection or push the screens brighter, and nobody has to re-render.

02

Data passes

not pictures: measurements, one per pixel
Depth (Z) 1 ch · 32-bit float Camera distance in metres: 1.4–12.3 m here. Use it for defocus, fog and depth grades.

Depth (Z)

1 ch · 32-bit float

Camera distance in metres: 1.4–12.3 m here. Use it for defocus, fog and depth grades.

Mist 1 ch · 0–1 Depth that's already been turned into a 0–1 ramp over a set range. Multiply it in and you've got atmosphere.

Mist

1 ch · 0–1

Depth that's already been turned into a 0–1 ramp over a set range. Multiply it in and you've got atmosphere.

Normal 3 ch · XYZ Which way each pixel's surface is facing. Handy for relighting in comp, finding edges or adding a rim light.

Normal

3 ch · XYZ

Which way each pixel's surface is facing. Handy for relighting in comp, finding edges or adding a rim light.

Position 3 ch · world XYZ Where every pixel sits in world space, so you can mask by height or distance, or project onto it.

Position

3 ch · world XYZ

Where every pixel sits in world space, so you can mask by height or distance, or project onto it.

Ambient occlusion 3 ch How tucked away each point is. Multiply it in for contact shadows, or use it as a dirt mask.

Ambient occlusion

3 ch

How tucked away each point is. Multiply it in for contact shadows, or use it as a dirt mask.

Object index 1 ch · integer Each object gets one number (its pass index). The masks have hard, aliased edges.

Object index

1 ch · integer

Each object gets one number (its pass index). The masks have hard, aliased edges.

Material index 1 ch · integer Same idea, but per material, so you can grab every brass part at once.

Material index

1 ch · integer

Same idea, but per material, so you can grab every brass part at once.

Cryptomatte hash + coverage Clean, anti-aliased mattes for each object and material that you pick with a click. Psyop came up with it in 201

Cryptomatte

hash + coverage

Clean, anti-aliased mattes for each object and material that you pick with a click. Psyop came up with it in 2015.

Denoising albedo 3 ch The surface colour with no lighting on it, which tells the denoiser what's texture and what's noise.

Denoising albedo

3 ch

The surface colour with no lighting on it, which tells the denoiser what's texture and what's noise.

Denoising normal 3 ch Normals that help the denoiser keep edges sharp. You'll want it if you're denoising in comp.

Denoising normal

3 ch

Normals that help the denoiser keep edges sharp. You'll want it if you're denoising in comp.

Also written, but empty on a still: Vector, which is screen-space motion for blur in comp (nothing moves in this frame), and UV for STMap re-texturing, which stays blank because the kit's geometry-node parts don't have a UV map. That's 37 layers, 44.8 MB as one multilayer EXR, against 1.2 MB for the 8-bit PNG.

03

Why float

the same crop, pulled down in comp
AS RENDERED
−3 STOPS
−6 STOPS
EXR16-bit half float · 9.7% of the pixels go past 1.0 and this crop hits 69
PNG8-bit with AgX baked in · anything brighter than white has already been squashed

Pull the exposure down and the EXR still shows texture in the hot panel and the brass. The PNG just turns grey, because that detail got rounded off when the view transform squeezed everything into 0–1. So render scene-referred, in linear float, and deliver display-referred through AgX, Filmic or ACES. Doing it the other way round loses you the detail.

04

How we got passes

fifty years from shading to cryptomatte
university labs
studio pipelines
open standards & GPUs
//
1980
1990
2000
2010
2020
1975Phong shadingBui Tuong Phong · Utah

Specular highlights worked out per pixel, which gave us the first “glossy”.

1975Utah teapotMartin Newell

He measured a teapot by hand and it ended up as the test object for decades.

1977Alpha channelCatmull · Alvy Ray Smith

Worked out at NYIT. A fourth channel saying how much of each pixel is there.

1980Ray tracingTurner Whitted

Rays bouncing around for reflection and refraction, at hours per frame.

1984Compositing algebraPorter & Duff

“Over”, “in” and “out”, the maths every comp node still runs on.

1984Distributed raysCook · Porter · Carpenter

Lots of rays per pixel, which got us motion blur, depth of field and soft shadows.

1986Rendering equationJames Kajiya

Every bit of light transport in one integral, and path tracing is how we solve it.

1988RenderManPixar

The interface spec. Its “arbitrary output variables” are why passes get called AOVs.

1995Toy StoryPixar

The first fully computer-animated feature, at around 114,000 frames.

1997HDR radiance mapsPaul Debevec

Bracketed photos merged into a single float image, so CG could use real light.

2003OpenEXRILM

Half floats and as many layers as you want, all open source. It's where passes live.

2011CyclesBlender 2.61

Blender gets its path tracer, and it has light passes from day one.

2013Deep EXRWeta Digital · ILM

OpenEXR 2.0 stores lots of depth samples per pixel, so you can do hold-outs with no mattes.

2014ACES 1.0Academy (AMPAS)

A single colour pipeline from camera to cinema that every vendor can share.

2015CryptomatteFriedman · Jones · Psyop

ID mattes stored as hashes plus coverage. They're anti-aliased and you pick them with a click.

2017AI denoisingNVIDIA OptiX

NVIDIA trained a network to clean up noise, so a frame can look done with far fewer samples.

2017FilmicTroy Sobotka, Blender 2.79

A view transform that acts like film, so highlights roll off instead of clipping.

2018RTXNVIDIA Turing

Ray-tracing hardware turns up in ordinary consumer GPUs.

2019Open Image DenoiseIntel

A CPU denoiser guided by the albedo and normal passes, added in Blender 2.81.

2023AgXBlender 4.0

The new default view transform, where bright colours wash out the way film does.

the formats on this postercompositingtools & pipelinesrendering
05

Inside an EXR

compression is per file, per layer
CodecTypeUse it for
NONErawThe fastest to read but massive, so only use it for scratch caches.
ZIP / ZIPSlosslessA safe default for data passes, with 16 or 1 scanlines per block.
PIZlossless, waveletGood for grainy, noisy beauty renders, and often the smallest lossless option.
PXR24lossy for 32-bitRounds 32-bit floats down to 24. That's fine for depth but it'll break IDs.
B44 / B44Alossy, fixed rateLets half-float plates play back in real time.
DWAA / DWABlossy, DCTDreamWorks' codec, which works a bit like JPEG. It gets beauty and light passes down to a fraction of the size, and it's what we used here.
Bit depth per pass
  • Half (16-bit float) covers beauty, light and colour passes, in 0.1% steps up to 65,504.
  • Full (32-bit float) is for Depth, Position, Vector and anything else you'll measure or project with.
  • Cryptomatte stores its IDs as 32-bit hashes, and half precision will corrupt them, so keep those layers full float and lossless.
  • A multilayer EXR holds every pass in one file per frame. Splitting passes into separate files makes them easier to swap, but you end up with a lot more files.

What you deliver should still be 8- or 10-bit through a view transform (see posters 02 and 04). EXR is for whoever's going to keep working on the shot.

06

Before you hit render

the boundary decides the passes
Set the boundary firstfrom article 01 · Subdivide
  1. Who's comping this and what are they using (Nuke, After Effects, Fusion, Blender)? Do they want multilayer, or a file for each pass?
  2. Which passes are they really going to use? Every extra layer costs disk space on every frame.
  3. Are you denoising in the render or in comp? If it's comp, they'll need the albedo and normal guides.
  4. Is motion blur being rendered in, or added later in comp from the Vector pass?
  5. Which colour pipeline are you on, AgX, Filmic or ACES? Get everyone to agree the view transform before any grading starts.
  6. Are any passes measurements, like depth, position or IDs? Those need to be 32-bit and never lossy.

Sources and method

Measured: products/Subdividers_Controls_Kit/hero/Controls_Kit_hero.blend, HERO camera, 1280×720, 384 samples, Cycles on Metal, denoiser off, every pass enabled, saved as one multilayer EXR (half, DWAA). Read back with OpenImageIO. Rebuild = Σ (direct + indirect) × colour for diffuse, glossy and transmission, + volume + emission + environment. Scripts: blender/render_passes.py, read_passes.py, hdr_fig.py.

History: Phong 1975. Newell 1975. Smith, “Alpha and the History of Digital Compositing”, 1995. Whitted 1980. Porter & Duff 1984. Cook, Porter & Carpenter 1984. Kajiya 1986. Pixar RenderMan Interface 3.0, 1988. Debevec & Malik 1997. OpenEXR 1.0 (2003) and 2.0 (2013). ACES 1.0 (2014). Friedman & Jones, “Cryptomatte”, SIGGRAPH 2015 poster. Blender release notes 2.61, 2.79, 2.81 and 4.0.

The top of the Renders and passes poster.

Take the poster with you

Everything on this page as one tall poster, made to print or keep on a second screen. Free to use for your own learning and teaching.

Download the poster (PDF, 4.0 MB)

All nine posters are on the Academy page. They’re the start of The Subdividers Handbook, a printed boxset of our notes that we’re working on.