---
title: "Multi Matte RE"
canonical: "https://documentation.chaos.com/space/VC4D/116856641/Multi+Matte+RE"
format: markdown
---
This page provides information on the Multi Matte Render Element, which creates red, green, and blue selection masks based on an object's Object ID or Material ID.


## **Overview**

---


With the Multi matte Render Element, only three colors are possible: red, green, and blue. In comparison, other matte render elements can include many colors to represent each material or object in a scene with a different color. With Multi Мatte, a single R, G, or B channel can be used directly as a matte, eliminating the step of selecting the color in the compositing software. This ease of use makes Multi Мatte a popular choice for compositors.

The Multi Мatte Render Element includes anti-aliasing.

To represent all the objects or materials in a scene with just the available red, green, and blue colors, several Multi Мatte Render Elements can be generated for a single rendering, each with different Material ID or Object ID settings.

** **

**UI Path**<span style="color: #000000">: ||V-Ray|| > </span>**Render Elements**<span style="color: #000000"> ></span><span style="color: #000000">** Multi Matte ID**</span>


![image](media://634b826e-b57c-45a2-8eb9-e8f4ec8fa6f0)

*How to add a render element to a scene*


![image](media://9f0bd703-e4d2-438e-af63-a7bb16526123)


## **Properties**

---


**Mask Type** – Specifies how the mask is generated:** **

**Separate Channels **– Considers all three **Red**, **Green**, and **Blue Ids**.** **  
**White **– Creates a mask only for the objects with the specified **Id**.** **

**Enable Deep Output** – <span style="color: #000000">Includes this render element in deep images.</span>

<span style="color: #000000">**Id**</span><span style="color: #000000"> – When </span><span style="color: #000000">**Mask Type**</span><span style="color: #000000"> is set to </span><span style="color: #000000">**White**</span><span style="color: #000000">, you can specify the id of the object to be masked. </span>

<span style="color: #000000">**Red/Green/Blue Id**</span><span style="color: #000000"> – When </span><span style="color: #000000">**Mask Type**</span><span style="color: #000000"> is set to </span><span style="color: #000000">**Separate Channels**</span><span style="color: #000000">, these parameters set the ID used for the respective channel.</span>

<span style="color: #000000">**ID Source**</span><span style="color: #000000"> – Specifies how the Red/Green/Blue Ids are read. </span>

<span style="color: #000000">**Object ID **</span><span style="color: #000000">– Multimatte considers the Red object ID, Green object ID, and Blue object ID values to be the Object ID and renders the R, G, and B channels accordingly. </span>  
<span style="color: #000000">**Multimatte ID**</span><span style="color: #000000"> – The Red, Green, and Blue Ids are considered as the Material ID.</span>

<span style="color: #000000">**Affect Matte Objects**</span><span style="color: #000000"> – Determines whether to include matte objects when generating the render element. </span>

<span style="color: #000000">**Consider for Aa**</span><span style="color: #000000"> – When enabled, anti-aliasing is used where possible.</span>

<span style="color: #000000">**Mode**</span><span style="color: #000000"> – Selects whether to include or exclude the specified objects in the list. </span>

<span style="color: #000000">**Exclude Red/Green/Blue Channel Objects**</span><span style="color: #000000"> – Creates a list of objects/materials excluded from the respective channel. </span>  
<span style="color: #000000">**Include Red/Green/Blue Channel Objects**</span><span style="color: #000000"> – When enabled, considers the Exclude List Red/Green/Blue as an inclusive set. All objects/materials not mentioned in the list are not rendered with this render element.</span>

![image](media://d591e190-df90-4f34-82f5-d400dda529fc)


> Macro (anchor)



---

### Example Use Case

In this example, the background and the opaque chairs are selected separately using Multi Matte masks. Their diffuse color is changed using a [Constant layer](https://docs-chaos.atlassian.net/wiki/spaces/VC4D/pages/116855823) in the VFB. See the render before and after.


![image](media://b42b21db-67c2-4165-be6a-1c1ef325d368)


![image](media://7f35b44c-8848-4b3a-86b0-d039752b4420)