Unity Products:Amplify Shader Editor/Function Output

From Amplify Creations Wiki
Revision as of 16:05, 11 July 2018 by Amplify RnD Rick (talk | contribs) (Function Output Node)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to Node List

Function Output Node

The Function Ouput node adds data exit points into Shader Functions. This node is specific to Shader Functions and cannot be created/used inside a normal shader.
Each Function Output node will be represented by an Output Port when its Shader Function node is used inside a canvas. Output port name will be set through the Function Output Name and its data type will be set by its Input connection data type.

Please use the following link for more in-depth information on shader functions.

Nodes used: World Normal, Function Input, Dot, View Dir, Scale And Offset, Function Output
Nodes used: Function Node, Light Attenuation, Light Color, Multiply

Node Parameter Description Default Value
Name Specifies the output name which will be also used on its corresponding output port. Output

Input Port Description Type
Input Defines a value to be sent out of the shader function to which external connection is being made on its corresponding output port. Its internal data type sets its incoming connection data type. Float

Back to Node List