FUSION · FULL ARTICLE
Merge
Combines a foreground image with a background image and is one of the most important building blocks in Fusion.
Overview
Merge is the node you use whenever a Fusion composition needs layers. The yellow Background input is the image underneath; the green Foreground input is the image placed on top. The output becomes the newly combined image that can continue through the graph.
A clean Fusion comp usually uses several Merge nodes in sequence instead of trying to force every element into one place. Text, logos, HUD graphics, light passes and masked shapes can each live in their own branch and then be combined step by step.
Most beginner problems with Merge come from reversed inputs or unexpected alpha. If a graphic covers the whole frame, inspect the Foreground source first: Merge can only composite the alpha it receives.
The image connected to Background establishes the output canvas size. A larger Foreground is not automatically fitted; it can be cropped by that canvas. Inspect both input resolutions before adjusting Size, and keep the final format separate from the visible size of a logo.
When to use it
- Place Text+ over video
- Add a logo or PNG
- Build lower thirds and title cards
- Combine a separate Glow pass
- Use Screen/Add/Multiply overlays
- Assemble several graphics into one branch
Article screenshots
Inputs & outputs
Merge combines two images and accepts a separate operation mask
Merge has three inputs with different jobs. Background defines the base image, Foreground is composited over it, and Effect Mask controls where the Merge operation is allowed to act.
Combines Foreground with Background using Operator / Apply Mode / Blend, then respects the Effect Mask.
Inputs
- Background
Base / lower layer
Receives: The base image or an already assembled section of the composite.
Inside the node: In a normal Over composite, Background remains where Foreground is transparent or the Effect Mask prevents the merge.
Typical sources: MediaIn · Background · previous Merge · Color Corrector
Background is not just the first port in a list; it is the lower layer of the composite and often establishes the branch canvas.
- Foreground
Upper layer
Receives: Text, logos, PNG graphics, effect passes or another image to place over the background.
Inside the node: Merge combines it with Background while respecting Foreground alpha, Operator / Apply Mode and Blend.
Typical sources: Text+ · MediaIn with alpha · Background plate · Transform · Glow
A fully transparent Foreground does not become opaque simply because Blend is set to 1.
- Effect Mask
Where Merge is allowed
Receives: A single-channel mask that defines the spatial area of the Merge operation.
Inside the node: In a normal Over setup, the composite occurs inside the mask while the Background remains outside it.
Typical sources: Rectangle · Ellipse · Polygon · Bitmap · B-Spline
This is not a third image layer and does not automatically cut the entire Background out of the final image.
Outputs and destination
Output
The completed 2D RGBA composite after the upper and lower layers have been combined.
Next step: next Merge · Transform · Color Corrector · Glow / Blur · MediaOut
To add another element, the current Merge often becomes the Background of the next Merge.
- Output
- The composited 2D image after Foreground is combined with Background.
Processing order
- Background establishes the base image and lower layer.
- Foreground supplies the upper layer and its alpha.
- Merge evaluates the compositing operation and Blend.
- Effect Mask restricts where the Merge operation acts; outside it the Background remains.
- Output sends the completed 2D composite downstream.
Title over video
MediaIn → Background · Text+ → Foreground · Rectangle → Effect Mask → Merge → MediaOut
The three inputs answer three different questions: what is below, what is above, and where the operation is allowed.
Background and Foreground carry images. Effect Mask is a coverage map for the Merge operation, not a third image layer.
Parameters
Merge · Inspector reference
Keep compositing logic, foreground geometry and resampling quality separate. Merge combines branches, so verify inputs and alpha before reaching for blend modes.
- Inputs
- Background / Foreground / Mask
- Composite
- Over and blend modes
- Transform
- Foreground placement
- Quality
- Resampling and edges
Composite · Compositing
Blend, Apply Mode and Operator control different layers of compositing logic.
- Blend
Composite > BlendStrength of the merge operation; not an edit of the source alpha. For the baseline Normal / Over setup, 0 keeps Background and 1 applies the full merge, still respecting Foreground alpha and the Effect Mask. A fully transparent source does not become opaque at Blend 1. Other operators must be assessed in their own context.
Check / distinguish: Begin with the default operator and compare 0, 0.5 and 1 before keyframing.
- Apply Mode
Composite > Apply ModeColor blending mode; distinct from the alpha-compositing Operator. Start with Normal. Screen and Multiply modify how colors combine; they are not substitutes for a correct source alpha. Keep the Operator at Over for the basic exercises and change one control at a time. Do not assume a mode named Add is in this specific menu without checking your version.
Check / distinguish: Judge color and alpha separately; a lightening mode is not an automatic keyer.
- Operator
Composite > OperatorAlpha-compositing operation. Keep Over for the simple foreground-over-background exercises. In, Out, Atop and other operators answer different coverage questions; switching them changes the composite, not just its artistic color treatment.
Check / distinguish: Do not use Burn In or Alpha Gain to compensate for reversed inputs.
- Alpha Gain
Composite > Alpha GainScales foreground alpha. In Subtractive mode it changes composite density; in Additive mode it changes how much background is obscured. Additive with Alpha Gain=0 simply adds foreground RGB to background.
Check / distinguish: Compare Alpha Gain 1 and 0 in Additive mode with unchanged source RGB.
- Burn In
Composite > Burn InReduces foreground-alpha occlusion of the background without reducing the foreground color contribution. At 0 it behaves as ordinary alpha compositing; at 1 foreground is added to background, after alpha multiplication in Subtractive mode. For Additive merges, increasing Burn In is equivalent to decreasing Alpha Gain.
Check / distinguish: Compare 0 and 1 on a translucent colored foreground: background occlusion changes while foreground contribution remains.
- Clamp Coverage
Composite > Clamp CoverageCoverage clamping concerns compositing coverage, not general HDR RGB clipping. The reviewed Resolve 21 manual does not specify this switch’s exact formula. Examples keep alpha within 0–1 and do not use Clamp Coverage to repair invalid alpha. For explicit alpha clipping, use BrightnessContrast with only A selected and Clip Black/White.
Check / distinguish: Inspect numerical alpha before Merge; do not assume this switch guarantees the output channel range.
- Subtractive / Additive
Merge / Subtractive–AdditiveUse Additive for premultiplied foreground: RGB already includes alpha multiplication. Use Subtractive for straight foreground so Merge performs that multiplication. A mismatch causes dark edges from double multiplication or bright edges from missing multiplication.
Check / distinguish: Compare premultiplied Text+ in Additive with AlphaDivide(Text+) in Subtractive.
- Perform Depth Merge / Foreground Z-Offset
Channels / Depth MergeDepth Merge uses both images’ Z channels to determine per-pixel ordering; alpha still defines transparency. If either input lacks Z, depth compositing is ignored. Increasing Foreground Z-Offset moves foreground depth farther away. Channels / Subtractive–Additive controls background RGB interpretation when its Z places it in front.
Check / distinguish: Use two EXRs with matching Z units; inspect Z independently from alpha.
Foreground · Foreground geometry
Center, Size and Angle transform only the foreground inside Merge.
- Center
Foreground > CenterPosition of the Foreground inside the Merge. Useful for small adjustments, but a separate Transform is usually clearer for real motion design.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Size
Foreground > SizeScale of the Foreground layer. Good for quick corrections; for reusable animation, keep scale in a Transform node.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Angle
Foreground > AngleRotation of the Foreground. Works for simple adjustments, but separating motion into Transform keeps the graph easier to read.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Flip
Foreground > FlipMirrors the foreground horizontally or vertically without rebuilding the branch.
Check / distinguish: Compare only foreground orientation; Background should stay unchanged.
- Invert Transform
Foreground > Invert TransformInverts the current foreground transform and is useful in selected linked-template workflows.
Check / distinguish: Do not use it as a reset-to-center shortcut; inspect Center/Pivot first.
- Flatten Transform
Foreground > Flatten TransformFlattens accumulated transform behavior at the Merge result level.
Check / distinguish: Compare a downstream Transform before/after Flatten on a duplicate branch.
- Reference Size
Foreground > Reference SizeChanges only how Center coordinates are displayed. With reference width 1920 and height 1080, internal Center [0.5, 0.5] is displayed as [960, 540]. Pixels, scale and output dimensions remain unchanged; expressions and scripts still read normalized values.
Check / distinguish: Change only reference dimensions: the rendered image should remain identical.
Quality · Quality
Filter Method matters when scaling or rotating fine graphics.
- Filter Method
Quality > Filter MethodResampling method used when the foreground is scaled. Affects edge quality and sharpness when the foreground changes size.
Check / distinguish: Inspect the edge at 100% Viewer scale and at the intended output size.
- Edges
Foreground > EdgesDefines foreground pixel behavior beyond source bounds during move, rotation and scale.
Check / distinguish: Move the object beyond frame bounds and compare modes on the same transform.
Before adjusting the node
- First verify Background goes to yellow and Foreground to green.
- Inspect foreground alpha separately from the artistic blend mode.
- For complex motion, place Transform before Merge to keep responsibilities separate.
- Treat Apply Mode and Operator as different controls.
- If fine graphics soften, check Filter Method after geometry.
Reference documentation
- Blackmagic Design · Fusion Visual Effects
Official Blackmagic learning material for Fusion logic, masks, compositing and core tools.
- Blackmagic Design · DaVinci Resolve support
Current Resolve/Fusion manuals and support material. Exact control names and placement can vary by version.
Examples
Mask the foreground and animate Blend independently
Distinguish source alpha, the Merge region and overall blend strength. The background must remain intact.
Starting conditions
DaVinci Resolve / Fusion Target: 21; principles cross-checked with VFX Guide 20, target build not run · Free / Studio · Windows target; other operating systems not tested
1920 × 1080 · 24 fps · 96 frames · DaVinci YRGB / Rec.709 Gamma 2.4; no LUT
- Native nodes only. Choose an installed sans-serif with the required glyphs; no fonts supplied.
Nodes and connections
BASE— BASE · BackgroundFILL— FILL · BackgroundWINDOW— WINDOW · Rectangle · RectangleMaskCOMPOSITE— COMPOSITE · MergeOUT— OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
BASE (BASE)Output | COMPOSITE (COMPOSITE)Background | image |
FILL (FILL)Output | COMPOSITE (COMPOSITE)Foreground | image |
WINDOW · Rectangle (WINDOW)Mask | COMPOSITE (COMPOSITE)EffectMask | mask |
COMPOSITE (COMPOSITE)Output | OUT (OUT)Input | image |
Graph output: OUT (OUT)
Parameter values
- BASE (BASE) / Color / Color
[0.025,0.04,0.06,1]The lower layer stays opaque across the whole frame.
- FILL (FILL) / Color / Color
[0.1,0.6,0.8,1]The upper layer is also opaque; restrict it at Merge.
- WINDOW · Rectangle (WINDOW) / Controls / Center
[0.5,0.5]Center the mask.
- WINDOW · Rectangle (WINDOW) / Controls / Width
0.42Define a region wide enough to inspect.
- WINDOW · Rectangle (WINDOW) / Controls / Height
0.3Keep the mask shorter than the frame.
- COMPOSITE (COMPOSITE) / Controls / Blend
0· frame 0Start the fade.
- COMPOSITE (COMPOSITE) / Controls / Blend
1· frame 23Finish the fade over 24 frames.
Reproduce the example
- Create a separate four-second Fusion Composition.
Use a project copy: 1920×1080 timeline, square pixels, 24 fps. Local frames are 0–95. On Edit, open Effects → Toolbox → Effects, add Fusion Composition, then open Fusion. In Flow, use Shift+Space to add the tool types shown in the graph and rename them to the given instance names: COMPOSITE is a Merge, for example, and BASE is a Background.
Check: MediaOut has no unrelated branch. Use plain DaVinci YRGB without a LUT; other color management may change appearance. Values below are exercise starting points, not a universal preset.
- Create two Background nodes and a Rectangle.
BASE is the plate, FILL is the colored layer. Both use the composition size and alpha 1.
Check: Both image branches are opaque by themselves; Rectangle shows a mask.
- Connect WINDOW to the blue COMPOSITE input.
The mask limits Merge. It must not replace either Background or Foreground. Keep Apply Mode Normal and Operator Over.
Check: Through c3 only the central FILL area appears; BASE remains outside it.
- Animate only Blend from frame 0 to frame 23.
Set both keys and use linear interpolation for the baseline check. Do not animate both Background alpha values at the same time.
Check: At 0 only BASE is visible; at 23 the masked FILL appears. Background opacity does not change.
- Temporarily disconnect c3 and compare the effect region.
At frame 23 FILL now covers BASE. Reconnect c3 to restore the window. This tests mask routing, not an alternate final graph.
Check: Reconnecting c3 restores the same window geometry; final alpha remains 1.
Expected result
- OUT (OUT) · frame 0
The original dark plate.
Alpha: Alpha 1 over the full frame.
- OUT (OUT) · frame 23
A colored rectangle inside the mask with the unchanged plate around it.
Alpha: Black mask areas do not cut a hole in BASE.
When the result differs
- The mask cuts out the whole composite
Cause: A downstream node was masked or the branch was wired incorrectly.
Correction: Restore WINDOW.Mask → COMPOSITE.EffectMask.
- The colored layer always fills the frame
Cause: c3 is missing or the mask is entirely white.
Correction: Check Width/Height and view WINDOW separately.
- The fade changes the plate
Cause: BASE Alpha is animated or a different Operator is selected.
Correction: Restore BASE alpha 1 and Operator Over; keep only Blend keys.
References
- Blackmagic Design · Visual Effects Guide 20
Printed pp. 9–12: Merge input roles. Supports wiring principles, not our chosen settings or a live run. Printed pp. 148–150: Background gradients and Rectangle on the blue input. This checks structure, not every version of the interface.
PNG badge: size, corner placement and alpha checks
Place a transparent PNG over a full-size plate without stretching it to fit or hiding edge problems with an arbitrary blend mode.
Starting conditions
DaVinci Resolve / Fusion Target: 21; principles cross-checked with VFX Guide 20, target build not run · Free / Studio · Windows target; other operating systems not tested
1920 × 1080 · 24 fps · 96 frames · DaVinci YRGB / Rec.709 Gamma 2.4; no LUT
- Native nodes only. Choose an installed sans-serif with the required glyphs; no fonts supplied.
Source material
- PLATE
A 1920×1080 test plate with bright/dark regions, a grid and labels. Authored input, not a Fusion render.
A PNG with the same dimensions and alpha can replace it. Drag the file from Media Pool as MediaIn and rename the node exactly as in the graph.
- BADGE
A 512×512 PNG with transparent corners and a circular badge. The file contains an alpha channel.
A PNG with the same dimensions and alpha can replace it. Drag the file from Media Pool as MediaIn and rename the node exactly as in the graph.
Nodes and connections
PLATE— PLATE · MediaInBADGE— BADGE · MediaInSCALE— SCALE · TransformCOMPOSITE— COMPOSITE · MergeOUT— OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
PLATE (PLATE)Output | COMPOSITE (COMPOSITE)Background | image |
BADGE (BADGE)Output | SCALE (SCALE)Input | image |
SCALE (SCALE)Output | COMPOSITE (COMPOSITE)Foreground | image |
COMPOSITE (COMPOSITE)Output | OUT (OUT)Input | image |
Graph output: OUT (OUT)
Parameter values
- SCALE (SCALE) / Controls / Size
0.55A 512-pixel input becomes about 282 pixels across. Inspect it at actual size.
- SCALE (SCALE) / Controls / Pivot
[0.5,0.5]Keep the reference centered while resizing.
- COMPOSITE (COMPOSITE) / Controls / Center
[0.82,0.78]Place the image toward the upper right; Fusion Y increases upward.
- COMPOSITE (COMPOSITE) / Controls / Blend
1Use Normal/Over, not Screen as an alpha workaround.
Reproduce the example
- Create a separate four-second Fusion Composition.
Use a project copy: 1920×1080 timeline, square pixels, 24 fps. Local frames are 0–95. On Edit, open Effects → Toolbox → Effects, add Fusion Composition, then open Fusion. In Flow, use Shift+Space to add the tool types shown in the graph and rename them to the given instance names: COMPOSITE is a Merge, for example, and BASE is a Background.
Check: MediaOut has no unrelated branch. Use plain DaVinci YRGB without a LUT; other color management may change appearance. Values below are exercise starting points, not a universal preset.
- Import both PNG files and inspect them separately.
Do not assign files to unrelated MediaIn nodes. Drag them from Media Pool and rename them PLATE and BADGE.
Check: PLATE is 1920×1080 and opaque. BADGE is 512×512 with zero alpha in the corners and opaque alpha inside the badge.
- Put SCALE only in the BADGE branch.
The original plate goes directly to COMPOSITE Background. All four connections are listed below the graph.
Check: Bypassing SCALE changes the badge size, not the plate size.
- Place the badge using COMPOSITE Center.
Do not resize again with Merge Size: this exercise stores scale in SCALE and placement in COMPOSITE.
Check: The badge is not clipped and has visible top/right clearance. OUT remains 1920×1080.
- Check edges against both light and dark plate regions.
Temporarily move Center around the frame. For halos, inspect the source and alpha interpretation; Screen does not fix the underlying cause.
Check: Restore Center 0.82/0.78. The plate shows through the BADGE corners without a black rectangle.
Expected result
- BADGE (BADGE) · frame 0
A central badge with empty corners.
Alpha: Corners are 0, with antialiased intermediate values at the edge.
- OUT (OUT) · frame 48
A small corner badge over the unchanged full-size plate.
Alpha: PLATE makes the composite opaque.
When the result differs
- Black rectangle around the badge
Cause: The file has no alpha or the wrong output is viewed.
Correction: Open the supplied badge-512.png and inspect BADGE alpha before Merge.
- Output becomes 512×512
Cause: BADGE is connected to Merge Background.
Correction: Restore PLATE → Background and SCALE → Foreground.
- The entire plate shrinks
Cause: SCALE sits after COMPOSITE.
Correction: Move Transform back to the BADGE branch.
Files for the example
References
- Blackmagic Design · Visual Effects Guide 20
Printed pp. 9–12: Merge input roles. Supports wiring principles, not our chosen settings or a live run. Printed pp. 67–70: the Background input determines Merge output resolution; a larger foreground is cropped rather than fitted automatically. Printed pp. 171–175: a separate branch Transform, Size and motion keyframes. Our paths and frame ranges are original exercise choices.
Burn In on translucent light
Separate foreground RGB contribution from background occlusion by its Alpha.
Starting conditions
DaVinci Resolve 21 · Fusion page, native tools. · Any supported OS
1920 × 1080 · 24 fps · 25 frames · RGBA; identical color processing for all compared branches.
- Sources are generated procedurally in the graph; enter settings manually.
Nodes and connections
BG— Dark background · BackgroundFG— Colored light · BackgroundMASK— Soft shape · EllipseMaskMIX— Composite · MergeOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Soft shape (MASK)Mask | Colored light (FG)EffectMask | mask |
Colored light (FG)Output | Composite (MIX)Foreground | image |
Dark background (BG)Output | Composite (MIX)Background | image |
Composite (MIX)Output | Output (OUT)Input | image |
Graph output: Output (OUT)
Parameter values
- Dark background (BG) / Controls / Color
[0.08,0.08,0.08,1]A dark background reveals changing occlusion.
- Colored light (FG) / Controls / Color
[0.1,0.45,1,0.3]Use a translucent colored source.
- Soft shape (MASK) / Controls / Width / Height
[0.35,0.35]Bound the colored region.
- Soft shape (MASK) / Controls / Soft Edge
0.08Soft Alpha exposes the edge transition.
- Composite (MIX) / Controls / Subtractive / Additive
1Match Merge to the premultiplied procedural RGBA source.
- Composite (MIX) / Controls / Alpha Gain
1Keep Alpha Gain fixed while changing only Burn In.
- Composite (MIX) / Controls / Burn In
0· frame 0Use ordinary alpha occlusion.
- Composite (MIX) / Controls / Burn In
1· frame 24Reduce background occlusion while retaining foreground RGB.
Reproduce the example
- Create two Background nodes and an Ellipse; set colors and Soft Edge, then connect the shape to FG.Effect Mask.
The source needs visible translucency.
Check: FG shows a soft colored region with Alpha below1.
- Connect Merge and set Subtractive/Additive1 and Alpha Gain1. Animate Burn In0 at frame 0 and1 at 24.
Burn In reduces occlusion while Alpha Gain remains a separate control.
Check: At24 the color contribution remains while the background is less occluded than at 0.
Expected result
- Output (OUT) · frame 24
At the end the light behaves more additively; lowering Burn In restores ordinary occlusion.
Alpha: Over the opaque background, final Alpha stays opaque. Inspect RGB and Alpha separately.
When the result differs
- The result differs from the description.
Cause: The selected mode, initial values or connections differ.
Correction: Check the specified source first, then settings step by step and Alpha over a checkerboard.
References
- DaVinci Resolve 21 Reference Manual
pp. 2269–2271
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
Other outlines from the article
Text over video
A basic title chain with video below and Text+ above.
- MediaIn → Background
- Text+ → Foreground
- Merge
- MediaOut
Neon title
Glow is applied to a text branch before it is composited.
- Text+
- Glow
- Merge
- MediaOut
Logo in a corner
Resize the logo before compositing it over the main picture.
- Logo
- Transform
- Merge
- MediaOut
Mistakes
- Swapping the yellow and green inputs.
- Trying to connect several foreground elements to a single Merge instead of building a chain.
- Blaming Merge for a solid foreground that actually has no useful alpha.
- Animating Center inside Merge and later forgetting where the motion lives.
- Using a lightening blend to hide missing alpha instead of checking the original file and ports.
- Ignoring Background resolution when the output unexpectedly changes size.
Tips
- Name important Merge nodes by purpose, such as Merge_Title or Merge_Logo.
- Keep element motion before Merge; move a whole assembled block after its final Merge.
- Long chains of Merge nodes are normal in Fusion and usually easier to debug than a tangled graph.
Workflow order
- Connect the base image to the yellow Background input.
- Connect the element you want on top to the green Foreground input.
- Check the selected Viewer output, the two connections and the Foreground alpha before blaming one node. A full-frame opaque Foreground can legitimately cover Background.
- Choose an Apply Mode only when you need a special blend.
- Add another Merge for every new independent layer.
