Table of Contents

This page provides information on the Render ID Color Channel.

 

Overview


The Render ID channel creates selection masks based on automatically assigned by V-Ray IDs during rendering. Each object in the scene is assigned a unique integer number and each number is colored differently. The intended use for the Render ID channel is to quickly create masks for all objects in a scene without having to set up separate Multi Matte Render Elements. The masks can be separated by their integer values or by the color used to represent them in compositing applications. A wide variation of colors is used, so no two objects will have the same color in the render element.

There is no anti-aliasing with the Render ID channel. Where the edge of one object meets another object, the pixel color at that spot is the color from the object that contributes most to the pixel value.

Render IDs are not the same as Object IDs: the render ID is automatically assigned by V-Ray during rendering only, while Object IDs are assigned by the user and can be changed at any time. In addition, while several objects can be assigned the same Object ID, each render ID is unique to a specific scene object.

 

 

UI Path


||Node Editor|| > Add > Render Channels > Color Channel > Type > Render ID

 

Common Uses


A common usage of this is to use the colors produced in the Render ID render channel to create a mask or alpha channel in post production that covers everything with that Color. Another use is when you have a scene with many similar looking parts with similar shading and have the Render ID above this, desaturated of all color and set to an Overlay mode with a low opacity to add variation. A variation on this is to use the resulting desaturated Render ID render element as a luminance mask to then control color correction, etc.

 

 

 

The Beauty Render Element

The Render ID render element

The desaturated Render ID render element

The Final composite using the Render ID render element on top set to multiply at 21% to add subtle variation