Unity Products:Amplify Shader Editor/Step: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify Borba No edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:06, 2 December 2023
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] |