Unity Products:Amplify Shader Editor/Template Multi-Pass Switch
Jump to navigation
Jump to search
Template Multi-Pass Switch Node
The Template Multi-Pass Switch node relays, in compile time, the correct input port according to current analyzed sub-shader/pass.
This sample uses the Outline Multi-Pass Template example described over the templates documentation.
As it can be seen Outline Color, which is a Pass 0 variable with a color value of black, is relayed to the Outline output node and Main Body Color, which is a Pass 1 variable with a color value of white, is relayed to to the MainBody output node.