Nodes · Comp
Merge
Compv2core
Overview
The node you will use most. B is the background and decides the format; A is the foreground. Twenty-three operations cover the Porter–Duff coverage set, the arithmetic set, and the tone set.
How to
- Wire the background to B, the foreground to A.
- Choose
operation—overunless you know otherwise. - Stack more foregrounds on
A2…A8rather than chaining Merges when they share a background.
Inputs
| Input | What it takes |
|---|---|
| B | the background — **B decides the format** |
| A | the foreground, composited over B |
| A2 | — |
| A3 | — |
| A4 | — |
| A5 | — |
| A6 | — |
| A7 | — |
| A8 | — |
| mask | limits the effect to this matte — the engine's universal mask slot, applied for every node that declares it |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| operation | Choice | over | How A combines with B: over (normal comp), plus, screen, multiply, minus, max/min, and the rest of the Porter–Duff family. |
| mix | Float | 1 | Dissolves the whole merge back toward plain B. 0 = B untouched, 1 = the full operation. |
| bbox | Choice | union | Which data window the result keeps: union (default), intersection, or one side. |
Known edges
Merge never resamples. An A of a different size composites pixel for pixel; if you wanted it scaled, that is a Resize.