This page provides information on the MtlMulti material node.
Overview
The MtlMulti node allows you to assign different materials on a single mesh based on face IDs.
Node
The MtlMulti node provides inputs for controlling various material properties. Some correspond to parameters in the section below.
mtl_# – Specifies a sub-texture to be used by the Multi Material. The number of available inputs is dependent on the Materials Count parameter.
Parameters
Materials Count – Specifies the number of materials that are applied to the mesh.
Clear – Returns the Materials Count to a value of 0.
Material ID – Face material ID. It is filled automatically, if it is set to -1.
Wrap ID – When enabled, the material IDs are wrapped to the largest specified ID.
Example
In the following example, we have a gingerbread cookies mesh with a V-Ray Multi ID Material assigned to it. The mesh has face IDs for the cream and the gingerbread parts.
Here's how the gingerbread cookie turned out: