Unity Products:Amplify Shader Editor/Max: Difference between revisions

From Amplify Creations Wiki
Jump to navigation Jump to search
ampwiki>Amplify Borba
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:06, 2 December 2023

Back to Node List

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]

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

Math Operators - Max/Min/Clamp

Back to Node List