Unity Products:Amplify Shader Editor/Step

From Amplify Creations Wiki
Jump to: navigation, search

Back to Node List

Step Node

The Step node implements a step function which returns 1 if a value or vector component of B is greater or equal than the value or corresponding vector component of A. Otherwise it will return 0.

  • 0: This value is returned if B < A
  • 1: This value is returned if B >= A


Nodes used: Texture Sample, Vertex TexCoord, Float, Step, Lerp

Node Parameter Description Default Value
A First value of the step operation. Only visible if the respective input port is not connected. 0
B Second value of the step operation. Only visible if the respective input port is not connected. 0


Input Port Description Type
A First value of the step operation. Float [1]
B Second value of the step operation. Float [1]

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

Back to Node List