Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The parameters for this render element appear in the Attribute Editor under Extra VRay Attributes.


Image RemovedImage Added


Enabled – When enabled, the render element appears in the V-Ray frame buffer.


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.
V-Ray user attribute – Creates mattes with objects that include the V-Ray User Attribute specified in the User attribute name field.
Asset (reference scene) name – Creates mattes based on Maya References made within the scene. Note: This does not create mattes based on Maya Assets, only file references.
Sub object name – Creates separate mattes for each individual object within a V-Ray Proxy, when the proxy file contains more than one objects. This option works by getting IDs from within the vrayProxy node by creating a mask for each sub-object of the proxy (.abc and .vrmesh). This type produces masks for V-Ray Proxy objects only - regular geometry is not included in this cryptomatte layer.

UI Text Box

If a proxy is instanced in Maya, the Sub object name ID type will not distinguish between the instances. It will produce the same mask for the same sub object for all its instances. The recommended workflow in this case is to use a separate Cryptomatte render element with Node name ID type and mask the instances in compositing.

Num levels – 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 will contain non-zero results. The default value of 6 is normally enough for most cases.

User attribute name – Specifies a user-defined attribute for creating ID mattes when ID type is set to V-Ray user attribute.

Sub object name mode – Specifies what information about the sub object names goes into the Cryptomatte manifest.

Sub object name only – Only the name of the sub object(s) (e.g. ObjectName) is added to the manifest.
Add short root object name – The dag path and the sub object name(s) (e.g. is added to the manifest.
Add full root object name – The proxy file location, the dag path and the sub object name(s) (e.g. D:/Assets/ are added to the manifest. 




Example: User Attribute Name