This page provides information on the Material ID material in V-Ray for Blender.
Overview
This node allows you to assign an ID number to any material in your scene. This ID can be later used to extract a mask for all objects with that material using the MultiMatte render element.
Input Sockets
This section lists the input sockets of the node. They are not found in the Properties tab but only as inputs for the node.
Material Id Color – Sets color for Material ID.
Base material – A slot for the material that the ID will be assigned to.
Parameters
Material ID – Sets a unique identification number for that material.
Multimatte ID – Sets a unique identification number for that material.