Unity Products:Amplify Shader Editor/Sign
From Amplify Creations Wiki
Revision as of 12:24, 5 February 2018 by Amplify Borba (talk | contribs)
Sign Node
The Sign Node outputs either one, zero or negative one according to the signal of the value or of the individual components of vectors set on its Input.
- 1: This value is returned if Input is positive
- 0: This value is returned if Input equals to zero
- -1: This value is returned if Input is negative
Nodes used:
World Normal,
Sign
| Node Parameter | Description | Default Value |
|---|---|---|
| Input | Value to be used in the Sign calculation. Only visible if the respective input port is not connected. | 0 |
| Input Port | Description | Type |
|---|---|---|
| Input | Value to be used in the Sign calculation. | Float [1] |
|
Math Operators - Sign and Absolute |