Unity Products:Amplify Shader Editor/Switch by Face

From Amplify Creations Wiki
Jump to: navigation, search

Back to Node List

Switch by Face Node

The Switch by Face outputs relays one of its inputs according to if the rendered surface is facing the camera ( Front ) or facing away from the camera ( Back ).


Nodes used: Color, Switch by Face, Vector3, Float

Node Parameter Description Default Value
Front Value to be used on front faces. Only visible if the respective input port is not connected. 0
Back Value to be used on back faces. Only visible if the respective input port is not connected. 0


Input Port Description Type
Front Value to be used on front faces. Float [1]
Back Value to be used on back faces. Float [1]

  1. ^ Port automatically adapts to all connection types except Matrices and Sampler types.

Back to Node List