[vRM] VRayRenderMask¶
[vRM] VRayRenderMask – 1 per pass¶
Sets different V-Ray Render Mask settings for each pass. It uses the renderStacks object selection methods and its own "By Material" object selection.

Object Selection Method¶
This pmodifier has these ways to select the objects to render with the render mask. V-Ray renders the selected objects and masks all other objects.
To invert the object selection, use the Include button. It toggles between include and exclude.
- Off – the default. The same as Render mask "None" in the V-Ray render settings.
- Object_Layer – uses a renderStacks object selection method to select the objects. This replaces the V-Ray options "Selected", "Exclude/Include list" and "Layers".

- ObjectID – selects objects by Object ID. Type the IDs the same way as frames: a comma between IDs and a dash for a range. For example, "1, 4, 7-9". This is the same as the V-Ray option "Object IDs".

- Texture – uses a map as the mask. This is the same as the V-Ray option "Textures". Click the button to select a map. See Map/Material Value Popup Menu.

- Material – selects objects by their materials. See the steps below.

How to use the "Material" method¶
- Select Material as the method.
- Select the material to use.
- Right-click the list at "Rightclick here to add Property".
- Click Add.
- The Prop/Obj Selection dialog opens with the list of scene materials.

- Select the materials and add them to Selected.
- Press Set.