Abs Colour

Overview
The Abs family of nodes allow you to find the absolute value of the colour/scalar/vector coming into the Input. The absolute value of a number is its value regardless of whether it is positive or negative. In practice, this means the absolute value is always a positive number. For example:
-
The absolute value of 4 is 4
The absolute value -2 is 2
The absolute value of 0 is 0
This function works in a component-wise fashion for colours and vectors, so using vectors as an example :
-
( 2.1, -6, 4 ) becomes ( 2.1, 6, 4 )
( -10, -3, -2 ) becomes ( 10, 3, 2 )
In the example below, an EXR image containing vector data is assigned to the Main Input of the ABS Colour node. Visually, the green pixels represent data above a value of 0 in the Y axis, whereas the magenta pixels indicate a blend of positive and negative values lying on the X and Z axis. When enabled, the ABS Colour node outputs all values as positive values.

Settings:
- Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Abs Colour nodes in a project.
- Enable: When checked, the node is active and the absolute value from the Main Input is output. When unchecked, the Main Input value is passed through the node.