Unity Products:Amplify Shader Editor/Min

From Amplify Creations Wiki
Revision as of 00:06, 2 December 2023 by AmplifyWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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