On this page

MaterialX Merge nodes take two Color4 inputs and use their built-in alpha channel(s) to control how the fg and bg inputs are combined. These merge nodes only apply to Color4 input types. 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).

Merge Operator

RGB Result

Alpha Result

MtlX Disjointover

F+B if f+b<=1, and F+B(1-f)/b if f+b>1

min(f+b,1)

MtlX In

Fb

fb

MtlX Mask

Bf

bf

MtlX Matte

Ff+B(1-f)

f+b(1-f)

MtlX Out

F(1-b)

f(1-b)

MtlX Over

F+B(1-f)

f+b(1-f)

Parameters

fg

Color4

bg

Color4

mix

Float

Outputs

out

Color4

VOP nodes