Merge

Composites two or more images together. The following operations are available :

  • Add : A + B

  • Atop : Ab + B(1-a)

  • Divide : A / B

  • In : Ab

  • Out : A(1-b)

  • Mask : Ba

  • Matte : Aa + B(1.-a)

  • Multiply : AB

  • Over : A + B(1-a)

  • Subtract : A - B

  • Difference : fabs( A - B )

  • Under : A(1-b) + B

  • Min : min( A, B )

  • Max : max( A, B )

user

Container for user-defined plugs. Nodes should never make their own plugs here, so users are free to do as they wish.

out

The output image generated by this node.

enabled

Turns the node on and off.

in

The input images

operation

The compositing operation used to merge the image together. See node documentation for more details.

mode

Defines how inputs are selected for merging :

  • Standard : Each input plug is used once.

  • Collect : Each input plug is evaluated for each value in contextValues.

contextValues

The values to use for the contextVariable when in Collect mode. Each input will be evaluated for each value, forming multiple layers in the merge. This value will be passed to contextVariable, and the length of this list determines the number of times each input is evaluated.

contextVariable

Name of the context variable that takes values from contextValues in Collect mode. May be used upstream to vary the multiple layers being taken from each input.

indexContextVariable

Name of the context variable that contains the index of the current context value when in Collect mode. Ranges from 0 to len( contextValues ) - 1. May be used upstream to vary the multiple layers being taken from each input.