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