Unity Products:Amplify Shader Editor/Sign: 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
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 |