Semen Klenov

Home / Journal / 3D & CGI

Passes and Optimization: a practical CGI guide

Render passes (AOVs) split the image into light components that add back to the beauty.

CGIBy Semen Klenov26 November 2026

A render-time pie chart: sampling, geometry loading, textures, shaders, volumes, denoising; optimized vs. unoptimized

A client says “make the glass a little less bright and the label warmer” at six in the evening. If you rendered a single flat image, you must render again. If you rendered passes, you fix it in minutes in compositing. Optimization is the other half: the shortest render that passes the quality check.

Key points

  • Render passes (AOVs) split the image into light components that add back to the beauty.
  • Cryptomatte and IDs give clean masks for every object and material.
  • Storage = frames × size per frame: 250 frames × 100 MB = 25 GB.
  • Optimize in order: resolution, adaptive sampling, denoising, bounce limits, clamping, larger lights.

Render Passes (AOVs)

  • Beauty: The finished image.
  • AOV (arbitrary output variable): Any extra image the renderer writes alongside the beauty: diffuse direct/indirect, glossy, transmission, emission, volume, shadow, ambient occlusion, Z-depth, normals, position, motion vectors, UV, object/material ID.
  • Light-component sum: Adding the light passes reconstructs the beauty (when color management is linear). If the sum does not match, something is wrong.
  • Use in compositing: Re-balance reflections, add depth of field or fog, relight with normals and position, apply motion blur from vectors, isolate objects with IDs.
  • Data passes: Depth, normals, position and vectors are data, not color: do not tone-map them.

Cryptomatte, IDs and Light Groups

  • ID mattes: A flat color per object or material, used to select it. Hard-edged IDs alias on motion-blurred or anti-aliased edges.
  • Cryptomatte: An ID system that stores coverage for many objects in a few channels, with correct edges and motion blur. Pick any object by name later. A standard in studios.
  • Light groups (LPEs): Separate the contribution of each light (or group) into its own pass. In compositing, you change a light’s intensity or color after rendering without re-render.
  • Plan before rendering: Decide what the client may ask to change and render those elements separately: product, background, shadows, reflections, label.
  • Cost: Extra passes cost memory and disk, not usually render time. Render only what you will use.

File Management for Passes

  • Multilayer EXR: One file per frame holding all passes, 16-bit half float, lossless or light compression.
  • Naming: shot_pass_v###.####.exr.
  • Frame range and padding: Always render to an image sequence rather than video; never overwrite; render to a unique version folder.
  • Metadata: Store camera, renderer version and settings in the EXR header or a sidecar note.
  • Disk estimate: frames × size per frame. 250 frames of a multi-pass 4K EXR at 100 MB is 25 GB: plan storage.

Render Budget and Optimization

  • Budget: time per frame ≤ total render time ÷ frames. Define it at the start of the shot.
  • Measure first: Find out where the time goes (render statistics, profile) before optimizing. Most gains come from one or two things.
  • Quality levers (cheapest first):
    1. Lower resolution for tests; crop regions.
    2. Adaptive sampling and a noise threshold instead of fixed samples.
    3. A good denoiser at moderate samples.
    4. Limit bounce counts per type (diffuse 3–4, glossy 4–6, transmission 8–12 are typical starting points); raise only where the image needs it.
    5. Clamp indirect light to kill fireflies.
    6. Larger lights instead of tiny ones.
  • Scene levers:
    • Instances instead of copies.
    • Proxies and LODs for distant or background objects.
    • Texture resolution matched to camera distance; use mip-mapped formats (TX, tiled EXR).
    • Displacement and subdivision: Adaptive subdivision or bump instead of true displacement for small details.
    • Hide what is unseen: Delete or disable geometry outside the frame and objects hidden behind others (but keep shadow and reflection casters).
    • Volumes: Reduce resolution/step size where detail is not seen.
  • Cheat wisely: Render the background once as a still plate, bake lighting for static elements, render shadows or reflections separately at a lower quality.
  • Re-use between frames: Cached geometry, texture and BVH reuse (Persistent Data in Blender) for animations.

Quality Control Before the Farm

  • Render a test frame set: First frame, last frame, the most complex frame, a frame with motion blur. Check each at 100 %.
  • Checklist: Color management, resolution, frame range, output path and format, passes enabled, seed behavior, denoiser setting, scene file version.
  • Watch the first hours of a farm job: A wrong setting is cheapest to catch in the first frames.
  • Log: Record machine, time per frame and total, and issues.

In the tools

  • Blender: View Layer Properties → Passes (Combined, Z, Normal, Diffuse, Glossy, Transmission, Emission, Environment, Cryptomatte Object/Material/Asset, Shader AOV, Light Groups), Performance tab (Persistent Data, Tiles), Output → OpenEXR MultiLayer, Statistics in the status bar.
  • Unreal Engine 5: Movie Render Queue writes extra passes (depth, world normal, object IDs, stencil layers) to multilayer EXR.
  • DaVinci Resolve: The Fusion page reads the channels of a multilayer EXR for compositing.
  • Compositors: Nuke, Fusion, After Effects (with plug-ins) and Blender’s own compositor read multilayer EXR; keep consistent channel naming.

Common mistakes

  • Rendering only the beauty with no way to correct it.
  • Tone-mapping data passes.
  • More passes than you will ever use.
  • Optimizing without measuring.
  • Overwriting frames and losing the previous version.