Latest news
TutorialsBlenderCyclesOMA

Architectural Render Compositing in Blender: A Shadow Catcher and Cryptomatte Guide

Learn to edit architectural renders using a shadow-catching surface and Cryptomatte masks with Blender’s Cycles and Compositor tools. This guide covers everything from basic setup to common mistakes.

A chair render placed with shadows into a realistic interior imageAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. Shadow Catcher makes it easier to combine CGI elements with real images by allowing an object to receive only shadow rays.
  2. When the Shadow Catcher render pass is enabled, indirect lighting interactions are captured; when it is disabled, a simple approximation is used.
  3. Cryptomatte creates masks based on object or material selection and can isolate selected areas from an image.
  4. The Cryptomatte node does not support volume objects or sidecar metadata files.

What will you learn in this guide?

When compositing an architectural visualization with a photograph or another background image, it is important for the shadows on the ground to sit naturally in the scene and for specific objects to be selectable and editable afterward. The Shadow Catcher option in Blender’s Cycles object settings lets a surface receive only shadow rays. The Cryptomatte node in the Compositor creates masks based on objects or materials.

In this guide, we’ll treat the two features as parts of the same editing workflow: we’ll prepare shadows and indirect lighting interactions with Shadow Catcher, then use Cryptomatte to create a separate mask for selected objects in the render. The aim is to gain more control over the composite without being limited to a single render output.

Requirements

The source documentation describes the Cycles object settings and the Compositor Cryptomatte node in Blender’s current manual; it does not specify a particular Blender version number. The steps are therefore based on the features described in the documentation. Since the sources do not state any account requirements, no account requirement is specified here.

For Shadow Catcher, you’ll need the object settings in Cycles. For Cryptomatte, you’ll need the Cryptomatte pass in the render layers and the Compositor. The Cryptomatte node can use Blender’s render passes, or a Cryptomatte image in a multilayer OpenEXR file, as its source. If you only need a grayscale mask, the node can also work without anything connected to its Image input.

Step-by-step workflow

1. Choose the surface that will receive shadows

If you’re adding a ground plane or another surface to your scene for use with a real background image, set that object to work as a Shadow Catcher. This lets the object receive only shadow rays. The surface can therefore maintain indirect lighting interactions with the CGI elements in the scene while also carrying the shadow information needed for compositing.

This feature is especially useful when placing CGI elements into an existing photographic environment, as it makes it easier to composite them over a real image. However, pay attention to how the result is calculated: when the Shadow Catcher pass is enabled, indirect lighting interactions are captured. If the pass is disabled, a simpler approximation is used; according to the manual, this approach is also used for viewport renders.

2. Review object ray visibility

The types of rays an object is visible to can be controlled individually in the Cycles object settings. Visibility options are available for camera, diffuse, glossy, transmission, volume scattering, and shadow rays. For example, if you want an object to interact with other ray types without being visible to the camera, you can adjust the relevant visibility settings.

Before using these controls, decide what role the object should play in the scene. According to the manual, limiting ray visibility with these settings is more efficient than creating the same effect with shader nodes; objects made invisible are skipped during ray tracing. However, the setting can change the object’s other contributions to the scene. Check the result in a render.

3. Enable the Cryptomatte render pass

To create an object-based mask, enable the Cryptomatte Object render pass in the Passes section of the View Layer settings, then render the image. If you’re creating masks based on materials, remember that Cryptomatte can use either object or material types. Once the render is ready, add a Cryptomatte node in the Compositor.

When the node’s source is set to Render, the relevant View Layer’s Cryptomatte render passes are available. Alternatively, select Image in the Source field to use a Cryptomatte image from a multilayer OpenEXR file. The image layer is typically a combination of the View Layer and Cryptomatte type.

4. Create a mask for a selected object

Connect the scene render or Cryptomatte’s Pick output to a Viewer node to display the image you’ll select from in the background. If the image isn’t visible in the background, check the Backdrop option in the Compositor header. Then click the selection button on the Cryptomatte node and select the object you want to mask from the image. Repeat the process to select multiple objects.

The node’s Matte output gives you a grayscale mask for the selected object or objects. You can use this output in subsequent compositing operations. To get a colored image of the selected elements with the remaining areas transparent, connect the render image to the node’s Image input and use its Image output. The node can output an image that retains the selected objects or materials and makes the other areas transparent.

5. Check the mask and composite

First, check that the mask covers the objects you intended to select. Then confirm that the image output separates the surrounding areas as expected. The example in the source manual shows that edges with motion blur can be handled correctly in a Cycles render. This suggests it can be useful to inspect mask edges separately in scenes with motion blur; don’t assume the same result in every scene.

Common mistakes

  • Overlooking the Shadow Catcher pass: Indirect lighting interactions are captured when the pass is enabled; a simple approximation is used when it is disabled. Take the active setting into account when evaluating the image.

  • Not seeing the image in the background: If the render or Pick image isn’t visible while selecting in the Cryptomatte node, check that Backdrop is enabled.

  • Selecting the wrong object or layer: Cryptomatte works according to the source and layer selected in the node. Confirm that the correct layer is being used with the render pass or Image source.

  • Expecting unsupported data to work: The Cryptomatte node does not support metadata sidecar files or volume objects. If these limitations apply, consider a different source or workflow.

  • Confusing the mask with the image: The Matte output is a grayscale mask; the Image output is an image that contains the selected elements and makes the other areas transparent. Use the output that suits your needs.

Where it fits into architectural and visualization workflows

Shadow Catcher can help architecture and interior visualization teams placing a model element into a real image: receiving shadow information lets the surface connect the CGI element to the background. Cryptomatte is useful for visualization professionals and students who want to work on specific areas during compositing, since it lets them select objects or materials separately in a render.

The sources don’t provide information about the render engine or hardware required for these features. However, Shadow Catcher is part of the Cycles object settings, while mask creation is connected to Blender’s render passes and Compositor. Before delivering a project, test that the relevant settings are available in the Blender version you’re using and that the outputs can be used in your target compositing application. The sources provide no information about costs or specific hardware requirements.

Next steps

Start by making a test render in a small scene with a single Shadow Catcher surface and one Cryptomatte selection. Then evaluate object and material masks separately to decide which result best suits your workflow. If you’re working from an image file, try the multilayer OpenEXR option; if you’re using Blender render passes, try the Render source. In either case, check the selected layer and mask outputs before moving on to larger scenes.

Sources and license

This guide is adapted from the Cycles object settings and Compositor Cryptomatte node pages in the Blender Manual. Both sources are licensed under CC BY-SA 4.0.

Sources

2 sources
D(
docs.blender.org (CC BY-SA 4.0)docs.blender.org/manual/en/latest/render/cycles/object_settings/object_data.html
Summary
D(
docs.blender.org (CC BY-SA 4.0)docs.blender.org/manual/en/latest/compositing/types/mask/cryptomatte.html
Summary

Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

3dsınıfı’s take
3dEditor’s assessment

For architecture firms and visualization professionals, this method makes it possible to separate shadows and selected object masks during compositing without reworking the entire scene. In presentations combined with photographs in particular, it’s important to verify the Shadow Catcher’s indirect lighting behavior and which objects Cryptomatte includes with a test render.

For students and small teams in Turkey, the most practical starting point is to try the two methods separately in a simple scene with a single object. The documentation provides no information about costs or hardware requirements, so check compatibility with the Blender version in use and the delivery format before deciding. The source guides are licensed under CC BY-SA 4.0.

Frequently asked questions

What does Shadow Catcher do in Blender?

It lets an object receive only shadow rays, making it easier to combine CGI elements with real images.

How do you create an object mask with Cryptomatte in Blender?

Enable the Cryptomatte Object render pass and render the image. Add a Cryptomatte node in the Compositor, then select the object with the selection button. The Matte output gives you a grayscale mask for the selected object.

Which files and objects does Blender Cryptomatte not support?

The Cryptomatte node does not support metadata sidecar files or volume objects. A Cryptomatte image in a multilayer OpenEXR file can be used as a source.

Comments and the forum are in Turkish.Join the discussion
+

Related news