Skip to content




  • Category: /Texture/Utility
  • Default object name: switch

Go to Technical page.


Switch texture according to an input color.


Name Type Description
Pass Through bool If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded.
Master Input string Name of the attribute that will be used as output if Pass Through is enabled.
Invert bool If checked, the texture is inverted.
Opacity double Set the opacity of the texture.
Mode long Define how input color will be used to pick the texture. In Randomize mode, it will randomly pick a texture according to the input color. In Luminance mode, it will divide the computed luminance from the input color according to the number of textures. The texture located in the right luminance interval will be selected. In Value mode, it will take the red channel of the input, the texture located in the red value interval will be selected.
Seed long Set the seed of the random generator
Input double[3] Define the input color used to pick the texture.
Textures reference (Texture) Set the list of texture picked according to input color.