Use the Material ID Color Render Element in V-Ray for SketchUp to create colour masks for materials.
Overview
The Material ID Color render element creates a mask based on the material ID Color parameter. Before you add the render element, use the Add Attribute button to add the Material ID attribute to the material.
The Material ID Color channel supports opacity colour and textures.
Use this render channel as a colour mask for different materials in your scene during compositing.


UI paths
||V-Ray Asset Editor|| > Render Elements (right-click) > Material ID Color
||V-Ray Asset Editor|| > Create Asset (left-click) > Render Elements > Material ID Color
Set Material ID Color
When you add a Material ID attribute to a material, Material ID Color is set automatically. You can change it in the Asset Editor by selecting your preferred ID Color.