Unity Products:Amplify Shader Editor/Add
The Add Node ( shortcut: A key ) does an arithmetic addition of two or more values, up to 10, or ( A + B + ... ). By default the node only shows two input ports so if the addition of more than two values is needed a new port is dynamically added whenever an output port wire is picked up. These extra inputs are also dynamically removed if they aren't connected.
Addition between multi-channel data types are done per-channel. If A and B have different channel amounts a cast is done to match the one with the most amount of channels.
Note: Addition is commutative so value's order is not important.
Nodes used: Texture Sample, Add
|Node Parameter||Description||Default Value|
|A||The first value. Only visible if the respective input port is not connected.||0|
|B||The second value. Only visible if the respective input port is not connected.||0|
|A||The first value||Float |
|B||The second value||Float |
|#||The #n-th value, up to 10. Only visible when already connected or when you pick up an output wire connection.||Float |
Math Operators - Add/Multiply