Use the Cryptomatte render element in V-Ray for SketchUp to create mattes for compositing.
Overview
Cryptomatte is a method developed by Psyop to encode accurate mattes. It typically stores three to five automatically generated render channels in a multichannel OpenEXR file. This saves you from creating dozens or hundreds of Multimattes.
The Cryptomatte render element works with both Progressive and Bucket Image Sampler.
Cryptomatte differs from the Multimatte Render Elements in the following ways:
- You do not need to set up object IDs.
- You only need a fixed number of additional render elements, typically four.


UI path
||V-Ray Asset Editor|| > Render Elements (right-click) > Cryptomatte
||V-Ray Asset Editor|| > Create Asset (left-click) > Render Elements > Cryptomatte
Parameters
ID Type specifies how the ID mattes are created.
Object Name creates mattes based on object names. If no scene name is specified, it uses object IDs.
Material Name creates mattes based on the materials in the scene.
Object Name with Hierarchy creates mattes based on object names with the full scene hierarchy path.
Layer Names creates mattes based on the names of the layers the object belongs to.

Common use
After rendering a multichannel exr image with the Cryptomatte layer, you can colour correct it in a compositing application such as Nuke. This example shows the image before and after colour correction.

