Skip to content

Switch#

The Switch texture allows you to switch between a list of user-defined Textures according to the Input color. This texture operator is very useful to add texture variation in a shading network of a material based on the Object ID for example.

Mode#

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

Mode Description
Randomize In Randomize mode, the texture is randomly selected from the input color.
Luminance In Luminance mode, each texture defined in the Textures list is mapped to a luminance interval corresponding to the normalized luminance divided by the number of textures. According to the luminance value of the Input attribute, the corresponding texture is selected.
Value In Value mode, the material located at the specified rank in the Textures list is selected. In Clarisse the rank starts at 0 so that if the Input red value is 0, then the first texture 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 textures from the given Input color.