Arc Cosine node

Access: Nodes > Math > Arc Cosine

Returns the angle of the value, whose cosine is the input. The output is in the range of 0 to π. Values outside −1/+1 are safely clamped, meaning that there are no black pixels from bad data. This node is useful for curved edge light masking, such as for smooth fabric or skin.

Input (RGB) Output (RGB
1.0, 1.0, 1.0 0.0, 0.0, 0.0
0, 0, 0 1.5708, 1.5708, 1.5708
-1.0, -1.0, -1.0 3.14159, 3.14159, 3.14159

Arc Cosine node inputs

Input

The value that will have its inverse cosine calculated (clamped internally to −1 … 1)

Arc Cosine node outputs

Output

The resulting angle in radians, in the range of 0 to π