[vOM] VRayOverrideMtl¶
[vOM] VRayOverrideMtl – 1 per pass¶
Sets different V-Ray Override Material settings for each pass. It uses the renderStacks object selection methods and its own "By Material" object selection.
From renderStacks 3.45, it supports the material override settings, if your V-Ray version has them.

Object Selection Method¶
This pmodifier has these ways to select the objects for the material override:
- Off – the default. The same as clearing the "Override mtl" check box in the V-Ray render settings.
- All – overrides the materials of all objects.
- Object_Layer – uses a renderStacks object selection method to select the objects. This replaces the V-Ray options "Exclude/Include list" and "Exclude layers".

- ObjectID – overrides the material 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 replaces the V-Ray option "Exclude object ids".

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

How to use¶
- Select the override selection method in the dropdown.
- Click the material button. The Map/Material Value Popup Menu opens.

- Select the override material.
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.