Table of Contents

This page provides information about the Material ID Render Element in V-Ray for Cinema 4D.


Overview


The Material ID Render Element isolates objects with specific materials by Material ID for compositing purposes. This render element provides a mask for individual objects and materials that is easy to select in compositing software.

This render element either shows each material (by Material ID) as a solid unshaded color or stores the Material IDs as integer values within the EXR format or VRay Image Format file. 

The Color (with AA) method supports antialiasing at the edges of objects where they meet other objects or the background. The Integer (no AA) method, which assigns a Material ID to each pixel in the render element, does not support antialiasing as each pixel can have only a single Material ID assigned to it.

More than one Material ID render element can be used if desired, for example, if you wish to have both solid-shaded color and integer-based render elements for maximum flexibility during compositing.


UI Path: ||V-Ray|| > Render Elements > Material ID


How to add a render element to a scene

Properties


Enable Deep OutputSpecifies whether to include this render element in deep images.

Color Mapping – Applies the color mapping options specified in the Color Mapping rollout of the V-Ray tab in the Render Settings window to this render element. This option is enabled by default.

Consider for Anti-Aliasing – When enabled, anti-aliasing is used where possible.

Filtering –  Applies an image filter to this channel.

Derive Raw Channels – Generates data in the raw channels by combining the respective color and the filter color channels.

Vfb Color Corrections – Applies the post-render color adjustments made from the VFB.

Denoise – Enables the render element's denoising, provided the Denoiser render element is present.