Multiply Complement Scalar
Jump to navigation
Jump to search

Overview
The Multiply Complement family of nodes allow you to multiply the colour/scalar coming into the Main Input by the complement of the color/scalar coming into Input 2.
The multiplication is component-wise, for example with a colour:
-
Main Input.red multiplied by the complement of Input 2.red
Main Input.green multiplied by the complement of Input 2.green
Main Input.blue multiplied by the complement of Input 2.blue
The complement of a component value can be derived by subtracting the component value from the maximum possible value. For example, the pixel values in a greyscale image range from 0 - 255. The complement of a pixel value of 100 is 155. Likewise the complement of a pixel value of 0 is 255, and a pixel value of 255 is 0.
