On this page

Inverts the fg and bg inputs, multiplies them together, and then inverts the result. It gives the opposite result of MtlX Multiply.

MaterialX Blend nodes take two 1-4 Channel inputs and apply the same operation to all channels. The math for Alpha is the same as for R or RGB.

In the Blend Operator tabel, “F” and “B” refer to any individual channel of the fg and bg inputs respectively. They optionally support a mix input Float. This allows for blending the original bg (where mix is 0) with the result of the operation (where mix is 1).

Blend Operator

Result per Channel

MtlX Plus

B+F

MtlX Minus

B-F

MtlX Difference

abs(B-F)

MtlX Burn

1-(1-B)/F

MtlX Dodge

B/(1-F)

MtlX Screen

1-(1-F)(1-B)

MtlX Overlay

2FB if F<0.5, and 1-(1-F)(1-B) if F>=0.5

Parameters

fg

Float, Color3, Color4

bg

Float, Color3, Color4

mix

Float

Outputs

out

Float, Color3, Color4

VOP nodes