Unity Products:Amplify Shader Editor/Min

From Amplify Creations Wiki
Jump to navigation Jump to search

Back to Node List

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]

  1. ^ Port automatically adapts to all connection types except Matrices and Sampler types.

Math Operators - Max/Min/Clamp

Back to Node List