Configure Render Passes for Blender Compositing

This guide provides a straightforward tutorial on how to configure and use render passes for compositing in Blender. You will learn how to enable specific passes, access them within the Compositor, and combine them using nodes to gain complete control over the lighting, shadows, and colors of your final image.

Step 1: Enable the Compositor

Before configuring render passes, you must activate Blender’s node-based compositing environment.

  1. Open your Blender project and switch to the Compositing workspace at the top of the screen.
  2. In the Compositor editor, check the Use Nodes box in the top header. This will generate a Render Layers node and a Composite node.

Step 2: Select Your Render Passes

By default, Blender only outputs the combined image. You must manually enable the individual passes you want to manipulate.

  1. Go to the Properties panel on the right side of the screen.
  2. Click on the View Layer Properties tab (the icon resembles a stack of photo prints).
  3. Scroll down to the Passes section.
  4. Check the boxes next to the passes you need for your project:
    • Data: Enable Z (depth), Mist, or Normal for depth-of-field and fog effects.
    • Light: (Best for Cycles) Enable Diffuse, Glossy, and Transmission (split into Direct, Indirect, and Color) to control lighting and reflections separately.
    • Effects: Enable Shadow or Ambient Occlusion (AO) to control the dark areas of your scene.
    • Cryptomatte: Select Object or Material to easily create precise masks for specific elements.

Step 3: Access Passes in the Compositor

Once enabled, the output sockets on your Render Layers node in the Compositor will automatically update to display the chosen passes.

If you have already rendered your scene, the passes will immediately contain data. If not, press F12 to perform a render so you can preview the passes in real-time.

Step 4: Recombine the Render Passes

To modify your image, you must reconstruct the pass data using math nodes. For a standard Cycles render, the formula to rebuild the diffuse light is:

(Diffuse Direct + Diffuse Indirect) × Diffuse Color = Final Diffuse

To set this up in the Compositor:

  1. Press Shift + A and search for Mix Color (formerly MixRGB).
  2. Set the blend mode of the Mix Color node to Add. Connect Diffuse Direct to the first image input and Diffuse Indirect to the second.
  3. Add a second Mix Color node and set the blend mode to Multiply.
  4. Connect the output of the Add node to the first input of the Multiply node, and connect the Diffuse Color pass to the second input.
  5. Repeat this process for other light paths like Glossy (reflective) and Transmission (refractive).
  6. Use another Mix Color node set to Add to combine the final diffuse, glossy, and transmission outputs back into a single image.

By inserting color correction nodes (like Hue Saturation Value or Bright/Contrast) between these connections, you can adjust reflections, shadow density, and light bounces individually without needing to re-render the entire 3D scene.