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.

...

Column

UI Paths

 

section
width5%


Column
width33%

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

Column
width33%

||out Network|| > V-Ray Render Elements node > V-Ray > Material > Multi ID

35%

Image Added


Node

...

Section
Column
width33%

 

 

...

70%

The MtlMulti node provides inputs for controlling various material properties. Some correspond to parameters in the section below.

...

 

Image Removed

...

mtl_#

...

 – Specifies a sub-texture to be used by the Multi Material. The number of available inputs is dependent on

...

the Materials Count

...

 

Parameters

 

Image Removed

 

...

 parameter.

Column
width5%


Column
width25%

Image 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
width40%

Image Added

Column
width30%