Skip to content

TextureSideSwitch

Side Switch#

(TextureSideSwitch)

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

Go to Technical page.

Description#

Provides a switch between different values depending on the incoming ray and the geometric normal of the surface.

Attributes#

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.
Front Color double[3] Color returned if the original geometric normal and the incoming ray are on the same side.
Back Color double[3] Color returned if the original geometric normal and the incoming ray are on different sides.