Unity Products:Amplify Shader Editor/Max
Jump to navigation
Jump to search
Max Node
The Max node compares two values A and B and outputs the maximum value between them.
NOTE: Max 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.
Nodes used:
Texture Sample,
Float,
Max
Node Parameter | Description | Default Value |
---|---|---|
A | First value of the maximum operation. Only visible if the respective input port is not connected. | 0 |
B | Second value of the maximum operation. Only visible if the respective input port is not connected. | 0 |
Input Port | Description | Type |
---|---|---|
A | First value of the maximum operation. | Float [1] |
B | Second value of the maximum operation. Fully outputted when Alpha = 1. | Float [1] |
Math Operators - Max/Min/Clamp |