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 Paths:

||mat Network|| > V-Ray > Material > V-Ray Multi ID

Column
width5%


Column
width35%

Image Added

...


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%

Image RemovedImage Added

 


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%

Image Added


...


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.


Section
Column
width20%


Column
width60%

Image Added

Column
width20%



Here's how the gingerbread cookie turned out:


Section
 
Column
width30%


Column
width45%40%

Image Added

Image Removed
Column
width30%