Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides information on the MtlMulti material node.

 


Overview

...

Section
Column
width60%

The MtlMulti node allows you to assign different materials on a single mesh based on face IDs.

 


UI Path: ||mat Network|| > V-Ray > Material > V-Ray Multi ID

 
Column
width5%


Column
width35%

 


Node

...

Section
Column
width70%

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.

Column
width5%

 


Column
width25%

 


Parameters

...

Section
Column
width50%

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.

Column
width5%

 


Column
width45%


...


Example


In the following example, we have a gingerbread 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. 


Section
Column
width30%20%

 


Column
width40%60%

 
Column
width30%
20%

 



Here's how the gingerbread cookie turned out:

 


Section
Column
width30%

 


Column
width40%

 
Column
width30%