Arithmetic Combiner

 

 

The Arithmetic Combiner is a powerful tool to mix two textures with an optional mask.

Sources: Texture A and Texture B define the two color source textures. The Mask is supplied by grayscale texture, its brightness is used as the variable M value. You can control for each texture whether it's tiled on the output image or rescaled to with the output image's dimensions.

Terms: The terms are mathematical expressions that use the variables supplied by the source textures, the mask and the coordinates on the output image. You can define an individual term for each of the color channels (red, green, blue) or enable the All Channels use the same Term switch and enter only the All term.

The following variables are available:

Variable Description
a Value of Texture A, dependent on the term the variable is used in (red, green or blue channel).
ar,ag,ab Value of the red (ar), green (ag) and blue (ab) channel of Texture A.
b Value of Texture B, dependent on the term the variable is used in (red, green or blue channel).
br,bg,bb Value of the red (br), green (bg) and blue (bb) channel of Texture B.
m Value of the Mask.
x X-Coordinate of the output pixel.
y Y-Coordinate of the output pixel.

Output: Specify at the output section whether the dimensions of Texture A, Texture B or the Mask should be used for the output image. If you enable the Free radiobutton, you can define your own image dimensions.