Sign Node
Description
Outputs one, zero, or negative one according to the sign of the input scalar value or individual components of input vectors.
- 1 is returned if input is positive
- 0 is returned if input equals to zero
- -1 is returned if input is negative
Usage Examples
Example 1
The Sign node takes Vertex Normal coordinates in World space and provides Emission color values for the Material changing the color from black (0,0,0) to white (1, 1, 1) across the surface, depending on the sign of Vertex Normal components.
Last update:
2024-08-16
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)