Unity Products:Amplify Shader Editor/Template Parameter

From Amplify Creations Wiki
Jump to: navigation, search

Back to Node List

Template Parameter Node

The Template Parameter node allows access to shader properties and global variables declared over the Template shader that is currently being used via the Parameter dropdown option. The node's visual appearance and Outputs type and amount will vary according to which type of parameter is currently selected.
P.e. selecting a Texture Object property will change the node header to the same color as a regular Texture Object nodes and have only one Output port called Tex, as selecting a Color property will change the node header to the same color as a regular Color with five output ports, the first one for the full color vector and all other ones for each separate color channel.



Nodes used: Template Parameter, Texture Sample, Multiply

Node Parameter Description Default Value
Parameter Select which shader property or global variable to output. -
Type Indicates if current parameter is a shader property or global variable and it's not editable. -
Property Name Indicates the variable name for a shader property if one is selected. This is only visible for shader properties and it's not editable. -


Back to Node List