Skip to content

Switch#

The Material Switch allows you to switch between a list of user-defined Materials according to the Input color. This material is very useful to add material variation on scene objects or combined and scattered instances.

Mode#

The Mode attribute defines how the Input color is interpreted to select the material.

Mode Description
Randomize In Randomize mode, the material is randomly selected from the input color.
Luminance In Luminance mode, each material defined in the Materials list is mapped to a luminance interval corresponding to the normalized luminance divided by the number of materials. According to the luminance value of the Input attribute, the corresponding material is selected.
Value In Value mode, the material located at the specified rank in the Materials list is selected. In Clarisse the rank starts at 0 so that if the Input red value is 0, then the first material of the list is selected.

Seed#

Set the seed of the random generator used in Randomize in mode. Changing the value of this attribute reshuffles the selection of materials from the given Input color.