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:
14.12.2022
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter