The documentation is a little unclear.

"Always return non-negative value from any operation input 2 between input 1."


I'd expect the node to ignore the second value altogether, and just give you the absolute value of whatever you piped into the left side. But it's not clear how this node deals with two values. Does it ignore the non-piped value? Does it ignore the second value, regardless? Does it give you whichever input is non-negative? How does it handle two inputs? What "operation" is performed between the two inputs?

What does the "Absolute" setting actually do?


The Absolute mode is similar to the mathematics $\left\vert X \right\vert$ operator. Any negative value is turned positive.

The 2nd input on the node is meaningless and has no effect at all (thanks Carlo for checking this out in Blender's source code).

Below is an example that illustrates the mode. The image has values in the interval $[0, 1]$ (black to white). The first math node multiplies everything by $-1$, thus turning the interval to $[-1, 0]$. Everything that equals or is smaller than $0$ is rendered black, so the image turns black. When you plug this into the absolute node, all negative numbers are turned positive, and the image is displayed again.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.