Aller au contenu

MultiMerge Node

By Kriss Norde

The MultiMerge combines several sources in a layer-based structure, whereas the standard Merge only accepts one foreground input.

Overview

With the MultiMerge, each new source you drag to the node creates a new foreground input. These inputs are added to the Layer List in the Inspector, stacked from top to bottom: the layer closest to the foreground is at the top of the list, the one closest to the background at the bottom. Each layer has its own independent Merge controls. A composite that needed several Merge nodes (a sky replacement with three Merges, for example) fits in a single MultiMerge, and the order of operations is managed in a layer-based rather than a node-based way.

Where to find this node

  • Effects Library: Tools > Composite > MultiMerge
  • Quick add: right-click in the Node Editor → Add Tool > Composite > MultiMerge

Inputs

  • Background (orange) - the first image of the composite. Connect it before the foreground inputs. It determines the output resolution.
  • Foreground (white) - one input per additional image. Connecting a pipe to the node automatically creates a new foreground input and a new layer in the Layer List. All foreground inputs are white.
  • Effect Mask - optional. Limits the merged area to the white parts of the mask; where the mask is black, only the background shows.

Setup

Background + several images on the foreground inputs → MultiMerge → next node

Layer List

  • Select a layer: click it. Its Merge controls appear at the bottom of the Inspector and the pipe connected to its input glows slightly in the node tree. Shift-click selects a range of layers, Command-click selects non-adjacent layers.
  • Move a layer: click and drag its name up or down. A grey line shows where it will be placed.
  • Rename a layer: by default, each layer is named after the connected node. Double-click the name and type a new one.
  • Enable or disable a layer: check or uncheck the box next to its name. A disabled layer no longer contributes to the composite but is not deleted.
  • Replace a layer: if you disconnect the pipe, the layer stays in place with its name struck through. You can audition several sources on the same layer without rearranging the list.
  • Keyframes: the Layer List itself is keyframable with the keyframe controls to the right of the list. Layer order and layer enable/disable can be animated.

Right-click on a layer:

  • Go To Source: selects the node connected to the layer's input and opens its parameters in the Inspector.
  • Split Here: creates another connected MultiMerge and moves the selected layer and all layers above it into it. The original MultiMerge is connected to the background input of the new one.
  • Rename Layer X: opens a dialog box to rename the layer.
  • Rename Layer to Match Source: names the layer after the connected node.
  • Set Layer X to Default: resets the layer's merge settings to default.
  • Delete Layer: deletes the layer from the list and disconnects the pipe from the original node, without deleting that node.

Merge Controls

Each layer has its own Merge controls, identical to those of the Merge node: position, size, composite modes, etc. They appear when the layer is selected.

Use cases

  • Sky replacement: combine into a single MultiMerge a composite that needed three Merge nodes.
  • Audition several sources (clips, graphics) on the same layer by disconnecting and reconnecting the pipe, without breaking the Layer List order.

Tips

  • Use Rename Layer to Match Source to name each layer after its node.
  • Split Here splits the stack into two connected MultiMerge nodes.