---
title: "Cryptomatte"
canonical: "https://documentation.chaos.com/space/LAV/1506869272/Cryptomatte"
format: markdown
---
This page provides information about Cryptomatte render element objects in Chaos Vantage.


## **Overview**

---

Cryptomatte is a method developed by [Psyop](https://www.psyop.com/) for efficiently encoding accurate mattes. It typically uses three to five automatically generated render channels stored in a multichannel OpenEXR file which removes the hassle of creating dozens or hundreds of Multimattes.

Compared to the Multi Matte Render Element, Cryptomatte offers the following:

- Does not require a setup with object IDs, etc.
- Only requires a fixed number of additional render elements, typically four.
- Cannot be propagated through reflections or refractions.

![VRayCryptomatte_1K.jpg](media://488b8d96-caf8-4974-9206-ce39ffefed14)


## **UI Path**

---

||<u>[Right side panel](https://docs-chaos.atlassian.net/wiki/spaces/LAV/pages/124522117)</u>|| > **Objects** tab > **Create** **new Multi Matte object or** **Cryptomatte render element > Cryptomatte**


## **Parameters**

---

**ID type** – Specifies how the ID mattes are determined.

**Node name** – Creates mattes by node names.  
**Material name** – Creates mattes based on the materials in the scene.  
**Node name with hierarchy** – Creates mattes by node names and takes the node hierarchy into account for linked or grouped objects.  
**Node user attribute** – Creates mattes from an attribute specified in the **User attribute** field.   
**Node asset/reference name** – Creates mattes based on References made within the scene.  
**Node layer name** – Creates mattes based on the layer names in the scene.  
**Sub object name** – Creates separate mattes for each individual object within a Proxy, when the proxy file contains more than one objects. This option works by getting IDs from within the Proxy node by creating a mask for each sub-object of the proxy (.abc and .vrmesh). This type produces masks for Proxy objects only – regular geometry is not included in this cryptomatte layer.  
**Material path** – Creates mattes based on the full scene path of the materials, as exported by the host application (for example /Looks/Red). Materials that have the same name but different paths get separate mattes.

**Number of layers** – Specifies the number of levels for the render element, which determines the number of objects that can be distinguished per pixel. If multiple objects intersect at a single pixel, higher-order elements contain non-zero results. The default value of 6 is normally enough for most cases.

**User attribute** – The name of the Node user attribute whose value identifies the object when **ID type** is set to **Node user attribute**.

**ID type prefix** – This parameter is kept for compatibility with V-Ray. It has no effect and Vantage ignores it for every ID type.

**Object path starts with slash** – Prepends a forward slash to object paths.

![Vantage_Cryptomatte_Settings.png](media://16f5fe2a-c360-41e8-b7d4-bd23f443eb99)



## **Examples**

---

After producing a multichannel exr image with the** Cryptomatte** layer, you can use it in a compositing application, such as Nuke, to color correct the image. This example shows the before and after color correcting.


![VRayCryptomatte_RGB_color_656.png](media://c182347e-e197-4a50-a9ff-e707add15547)

Before

![VRayCryptomatte_RGB_color_CC_656.png](media://349debf9-2d91-4bfb-8cee-4dce8c92624d)

After