FUSION · FULL ARTICLE
MatteControl
Assembles and refines alpha: copies or combines matte channels, accepts dedicated Garbage/Solid mattes, shapes the edge, manages premultiplication and suppresses screen-color spill after keying.
Overview
MatteControl is not a keyer and it does not invent a matte from nothing. Its job begins once alpha or a helper matte already exists: it combines that data with an image, repairs transparency geometry and prepares the resulting RGBA for normal compositing. Diagnose it in both Alpha and RGB, then test the result over a real background.
The node has five physical inputs with distinct roles. Background is the primary image and the destination that receives the resulting alpha. Foreground is an optional donor image whose Red, Green, Blue or Alpha can be selected by Combine. Garbage Matte, Solid Matte and Effect Mask are three different mask semantics, not interchangeable mask sockets.
A fundamental workflow is embedding a prepared alpha into an RGB image. Feed the RGB image to Background, feed the image/matte carrying the desired alpha to Foreground, choose Combine Alpha, then enable Post Multiply Image when the downstream composite expects premultiplied RGBA. This is the workflow demonstrated in Blackmagic Design training.
Combine and Combine Op define the channel math. Combine selects the donor channel or service mode, while Combine Op determines whether that data is copied, added, subtracted, intersected or otherwise combined with the current alpha. Verify the donor first, the operation second and edge shaping third instead of changing all three at once.
Garbage Matte normally removes coverage that should never remain in the foreground: set edges, rigging, microphones or unusable screen areas. Solid Matte does the opposite by restoring or holding opaque coverage where the main key lost useful subject detail. Effect Mask replaces neither; it only localizes the completed MatteControl operation.
Once the alpha logic is correct, shape it with Filter/Blur, Contract/Expand, Gamma, Threshold Low/High, Restore Fringe and Invert Matte. These controls should refine a usable key, not compensate for a fundamentally incorrect extraction. Large changes can easily destroy hair, motion blur and translucent detail.
Post Multiply Image belongs to the RGB/alpha relationship. After alpha is copied or changed, transparent pixels may still contain RGB values that composite incorrectly. Post Multiply multiplies RGB by the finished alpha so conventional Merge math receives premultiplied RGBA; it does not improve the matte shape itself.
The Spill tab corrects edge color rather than matte geometry. Spill Color/Suppression remove green- or blue-screen contamination, Fringe Gamma/Size/Shape define the affected edge region, and the Red/Cyan, Green/Magenta and Blue/Yellow axes restore natural color. Judge despill only after alpha is stable.
When to use it
- Copy a prepared alpha from Foreground into an RGB Background with Combine Alpha.
- Clean a matte after DeltaKeyer, ChromaKeyer, LumaKeyer, Magic Mask or Bitmap.
- Remove set edges, rigging, microphones or unusable screen areas with Garbage Matte.
- Restore a lost subject region with Solid Matte when useful RGB still exists underneath.
- Contract or expand a matte edge without rebuilding the original key.
- Densify weak alpha using Gamma and Threshold Low/High.
- Soften a jagged or unstable edge with controlled filtering and blur.
- Premultiply RGB correctly after alpha has been embedded or modified.
- Reduce green/blue spill on hair, fabric, motion blur and translucent edges.
- Prepare production-ready RGBA for Merge or a clean alpha-driven downstream branch.
Article screenshots
- MatteControl Matte tab: Combine, Combine Op, Filter, Blur, Clipping Mode, Contract/Expand, Gamma, Threshold, Restore Fringe, Invert Matte, Solid Matte, Garbage Matte, Post Multiply Image and Multiply Garbage Matte
- MatteControl Combine menu: None, Combine Red, Combine Green, Combine Blue, Combine Alpha, Solid and Clear
- MatteControl Combine Op menu: Copy, Add, Subtract, Inverse Subtract, Maximum, Minimum, And and Or
- MatteControl Filter menu: Box, Bartlett, Multi-box, Gaussian and Fast Gaussian
- MatteControl Spill tab: Spill Color, Spill Suppression, Spill Method, Fringe Gamma, Fringe Size, Fringe Shape, Red/Cyan, Green/Magenta and Blue/Yellow
Inputs & outputs
MatteControl separates the image, alpha helpers and the mask that limits the operation
Its five inputs are not equivalent. Background carries the primary image. Foreground can provide another channel/alpha. Garbage and Solid Matte alter coverage. Effect Mask limits where the entire MatteControl operation is applied.
Edits Background alpha, combines helper matte sources and can also perform spill/RGB-related processing where configured.
Inputs
- Background
Primary image and alpha
Receives: An image from a keyer or another branch whose alpha needs cleanup or combination.
Inside the node: This remains the main image; its alpha is processed by Matte Blur, Contract/Expand, Gamma, Threshold and other matte controls.
Typical sources: DeltaKeyer · Chroma Keyer · MediaIn with alpha · Merge · Loader
To restrict MatteControl with a mask, do not replace Background with the mask; use the separate Effect Mask input.
- Foreground
Additional channel/alpha source
Receives: A second image whose Red/Green/Blue/Alpha can be combined with Background alpha through Matte Combine.
Inside the node: Foreground participates only when the selected Matte Combine / Combine Op uses it; otherwise it may be ignored.
Typical sources: another matte/image branch · EXR pass · MediaIn · technical image source
This is not Foreground in the Merge sense; MatteControl does not necessarily visually place it over Background.
- Garbage Matte
Remove unwanted coverage
Receives: A mask stream usually outlining a boom mic, set edge, unwanted background or another area to remove from alpha.
Inside the node: Garbage Matte is applied directly to alpha according to Garbage Matte Mode; a common mode makes covered areas transparent.
Typical sources: Polygon · B-Spline · Rectangle · MaskPaint
Garbage Matte has its own MatteControl semantics; do not confuse it with the normal blue Effect Mask.
- Solid Matte
Restore opaque coverage
Receives: A mask marking regions that should remain/become opaque after keying or matte cleanup.
Inside the node: Solid Matte restores coverage where the main matte has lost parts that belong to the subject.
Typical sources: Polygon · B-Spline · MaskPaint · Rectangle
Solid Matte usually solves the opposite problem to a typical Garbage Matte: one restores/keeps, the other removes.
- Effect Mask
Limit the whole MatteControl operation
Receives: A mask stream defining where the calculated MatteControl processing is allowed to affect Background.
Inside the node: Spatially limits the node after its matte settings are evaluated; it does not replace Garbage or Solid Matte.
Typical sources: Rectangle · Ellipse · Polygon · Bitmap
To remove an object from alpha, use Garbage Matte; Effect Mask only localizes the MatteControl operation.
Outputs and destination
Output
The Background image with processed/combined alpha and, when relevant controls are used, corresponding RGB/spill changes.
Next step: Merge → Foreground · Color Corrector · AlphaDivide/Multiply chain · MediaOut
After significant matte work, inspect RGB and alpha separately; a clean-looking RGB image does not guarantee a clean matte.
- Output
- The Background image with the calculated alpha, Garbage/Solid/Effect Mask logic and, when configured, premultiplication/despill applied; ready for Merge or further processing.
Processing order
- Background supplies the image and starting alpha that need correction.
- Foreground can provide another channel/alpha for Matte Combine.
- Matte controls clean, contract/expand, gamma-adjust and threshold alpha.
- Garbage Matte removes or changes selected regions according to its mode; Solid Matte restores regions that should remain opaque.
- Effect Mask restricts where the completed MatteControl operation affects the Background.
- Output carries the image with the resulting alpha and associated RGB result.
Embed prepared alpha into RGB
RGB image → Background · Matte image → Foreground · Combine Alpha → Post Multiply → Merge.Foreground
Background remains the result RGB image while Foreground donates alpha. Garbage/Solid/Effect Mask stay separate and are used only for their own semantics.
MatteControl is not a five-layer Merge. Background carries the image, Foreground supplies channels, Garbage/Solid modify alpha, and Effect Mask limits the node's operation.
Parameters
MatteControl · Inspector reference
Read MatteControl as a sequence: source and Combine first, alpha shaping second, premultiplication next, and Spill last. Garbage, Solid and Effect Mask inputs have different jobs and should not substitute for one another.
- Inputs
- BG / FG / Garbage / Solid / Effect
- Combine
- Channel and operation
- Alpha
- Edge and density
- RGB
- Post Multiply / Spill
Matte / Combine · Source and combine
Combine, Combine Op, Filter, Blur and Clipping Mode define where matte data comes from and how it is initially combined/filtered.
- Combine
Matte / Combine > CombineSelects the donor channel or service mode that participates in the resulting alpha. None leaves the donor channel unused. Combine Red/Green/Blue/Alpha read the corresponding channel from Foreground; Blackmagic training specifically demonstrates Combine Alpha to copy Foreground alpha into Background. Solid and Clear are Combine menu modes and do not replace the dedicated Solid/Garbage Matte inputs.
Check / distinguish: For a straightforward matte transfer, start with Combine Alpha and verify the Alpha Viewer immediately.
- Combine Op
Matte / Combine > Combine OpDefines the mathematical relationship between Background alpha and the selected Combine source. Choose the operation according to whether you need to add, subtract, intersect or otherwise combine matte information.
Check / distinguish: Verify the basic Copy/result first; use Add/Subtract/Maximum/Minimum/And/Or only when the logic of both mattes is clear.
- Filter
Matte / Combine > FilterSelects the filtering method. Chooses the resampling or filtering method used by the operation. Available methods include Box, Bartlett, Multi-box, Gaussian, and Fast Gaussian.
Check / distinguish: Inspect the edge at 100% Viewer scale and at the intended output size.
- Blur
Matte / Combine > BlurSets the amount of blur. Softens the matte after the selected filter. Small values can remove jagged edges; large values create a wide gray fringe and may hide a bad key rather than repair it.
Check / distinguish: Inspect the edge at 100% Viewer scale and at the intended output size.
- Clipping Mode
Matte / Combine > Clipping ModeSelects the Clipping Mode used by MatteControl. Controls whether processed matte data is clipped to the image domain/frame. Check this when blur or expansion creates unexpected behavior near frame boundaries.
Check / distinguish: Check result resolution and bounds separately from visual shape.
- Background = destination image
Inputs > BackgroundBackground carries the RGB image whose alpha MatteControl embeds or modifies. It remains the primary result image.
Check / distinguish: Feed a recognizable RGB image to Background and confirm that Combine changes alpha without replacing the identity of the RGB branch.
- Foreground = channel donor
Inputs > ForegroundForeground supplies Red/Green/Blue/Alpha when Combine needs data from a second image branch. It is not the upper visible layer of a Merge.
Check / distinguish: View Foreground by itself and inspect the exact channel selected by Combine.
- Combine Alpha
Matte > Combine > Combine AlphaUses Foreground alpha when assembling Background alpha; this is the core documented workflow for embedding a matte into RGB.
Check / distinguish: Compare Background alpha before MatteControl, Foreground alpha and Output alpha; the source of the change should be obvious.
Matte / Shape · Alpha shaping
Contract/Expand, Gamma, thresholds, fringe restoration, inversion and matte helpers reshape the resulting alpha and prepare RGB/alpha for compositing.
- Contract / Expand
Matte / Shape > Contract / ExpandShrinks or grows the matte boundary. Useful for removing a colored fringe or recovering a slightly over-tight key.
Check / distinguish: Use small values; a few pixels can be significant.
- Gamma
Matte / Shape > GammaRedistributes intermediate matte values. Useful for controlling semi-transparent edge density without hard clipping.
Check / distinguish: Change only this control from its default state and compare before/after.
- Threshold Low / High
Matte / Shape > Threshold Low / HighClips the matte toward black or white. Helpful for cleaning dirty interiors/backgrounds but easy to overdo.
Check / distinguish: Inspect the matte in grayscale and change one threshold at a time.
- Restore Fringe
Matte / Shape > Restore FringeRestores Fringe in the processed result. Attempts to preserve/recover edge detail that may be lost by a key. Treat it as edge refinement after the basic alpha geometry is correct, not as a replacement for a good key.
Check / distinguish: Change only this control from its default state and compare before/after.
- Invert Matte
Matte / Shape > Invert MatteReverses the matte. Useful when the extracted selection is the opposite of the desired object.
Check / distinguish: Toggle Invert and inspect the coverage in the Alpha Viewer.
- Solid Matte: Invert
Matte / Shape > Solid Matte: InvertSets Solid Matte to Invert. Inverts the incoming Solid Matte before it is combined with the source alpha. Use only when the drawn helper matte has the opposite inside/outside convention from the intended holdout.
Check / distinguish: Toggle Invert and inspect the coverage in the Alpha Viewer.
- Garbage Matte: Invert
Matte / Shape > Garbage Matte: InvertSets Garbage Matte to Invert. Inverts the incoming Garbage Matte before it removes coverage. A wrong inversion can make the subject disappear instead of removing the unwanted region.
Check / distinguish: Toggle Invert and inspect the coverage in the Alpha Viewer.
- Post Multiply Image
Matte / Shape > Post Multiply ImageMultiplies Background RGB by the finished alpha after matte processing. This produces premultiplied RGBA for conventional Merge compositing. Blackmagic training enables Post Multiply after Combine Alpha. It does not repair matte geometry; it reconciles RGB with the alpha you already created.
Check / distinguish: Check translucent edges over a contrasting background, where straight/premultiplied errors are easiest to see.
- Multiply Garbage Matte
Matte / Shape > Multiply Garbage MatteAdditional RGB multiplication by Garbage Matte; the Resolve 21 behavior needs a version-specific check. Fusion 9 Tool Reference describes multiplying Red/Green/Blue by Garbage Matte. This differs from Garbage Matte alpha processing and Post Multiply Image. The reviewed Resolve 21 manual does not document this switch separately, so the teaching recipes leave it off and perform required premultiplication explicitly after alpha preparation.
Check / distinguish: When migrating an older composition, inspect RGB and alpha separately and avoid automatic double multiplication.
- Garbage vs Solid vs Effect
Inputs > Matte semanticsGarbage changes coverage toward removal, Solid restores/holds coverage, while Effect Mask only limits where the calculated operation is applied.
Check / distinguish: Feed the same test Rectangle into the three inputs one at a time and inspect Alpha; the results should not be treated as equivalent.
- Post Multiply Image
Matte > Post Multiply ImageAfter alpha changes, multiplies RGB by the finished alpha so conventional Merge receives premultiplied RGBA. It does not change matte geometry.
Check / distinguish: Compare on/off on a soft transparent edge over a bright plate, not on the opaque subject interior.
- Multiply Garbage Matte
Matte > Multiply Garbage MatteFusion 9 documents RGB multiplication, not multiplication of computed alpha. This individual switch is not confirmed for Resolve 21; examples instead use explicit Post Multiply Image after preparing the matte.
Check / distinguish: Leave the switch off and avoid multiplying RGB twice.
Spill / Fringe · Spill suppression
Spill Color, suppression, method and fringe controls repair screen-color contamination after the matte itself is already correct.
- Spill Color
Spill / Fringe > Spill ColorSets the spill Color. Defines the screen/spill color that the spill section tries to suppress at semi-transparent or contaminated edges. Pick it from the actual contamination rather than choosing by label alone.
Check / distinguish: Change only this control from its default state and compare before/after.
- Spill Suppression
Spill / Fringe > Spill SuppressionReduces background-color spill on the keyed foreground. Controls the strength of spill removal. Excessive suppression can shift skin, fabric and neutral edges, so judge it after the alpha has already been cleaned.
Check / distinguish: Increase only until contamination is removed; back off if the subject turns gray or shifts toward the complementary color.
- Spill Method
Spill / Fringe > Spill MethodChooses the algorithm used to suppress key-color spill. Selects the algorithm used to estimate and suppress spill. The exact available methods depend on the build; compare edge color and luminance instead of assuming one method is always best.
Check / distinguish: Change only this control from its default state and compare before/after.
- Fringe Gamma
Spill / Fringe > Fringe GammaAdjusts gamma in the colored fringe correction around the matte edge. Changes the response of fringe/spill correction across partially transparent edge pixels. It is an edge color control, not a replacement for Matte Gamma on the alpha itself.
Check / distinguish: Change only this control from its default state and compare before/after.
- Fringe Size
Spill / Fringe > Fringe SizeSets the width of the matte edge region affected by despill/fringe processing. Controls the width of the edge region used for fringe/spill treatment. Too wide a value can affect interior subject color; too narrow may miss contaminated edge pixels.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Fringe Shape
Spill / Fringe > Fringe ShapeControls the shape and character of edge/fringe cleanup. Changes how the fringe region is shaped around the matte boundary. Verify the result on hair and motion-blurred edges in the target build.
Check / distinguish: Change only this control from its default state and compare before/after.
- Alpha before spill
Spill > WorkflowDespill should not disguise a broken alpha. Stabilize matte geometry before correcting fringe color.
Check / distinguish: Bypass Spill: Alpha geometry should remain equally correct.
Spill / Balance · Edge color balance
Red/Cyan, Green/Magenta and Blue/Yellow restore a natural edge color after spill suppression.
- Red/Cyan
Spill / Balance > Red/CyanApplies manual fringe or spill compensation along the red–cyan axis. Biases spill/fringe color along the red-cyan axis. Use small corrections while comparing the original edge because large values create a new color cast.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Green/Magenta
Spill / Balance > Green/MagentaApplies manual fringe or spill compensation along the green–magenta axis. Biases spill/fringe color along the green-magenta axis. It is particularly relevant for green contamination but should be adjusted against neutral reference areas.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Blue/Yellow
Spill / Balance > Blue/YellowApplies manual fringe or spill compensation along the blue–yellow axis. Biases spill/fringe color along the blue-yellow axis. Use it for blue-screen edge cleanup only after alpha and general spill suppression are stable.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Edge balance axes
Spill > Red/Cyan · Green/Magenta · Blue/YellowThe three axes restore natural color after suppression and act as fine final edge compensation.
Check / distinguish: Change one axis at a time and compare skin/hair/neutral detail against the original.
Before adjusting the node
- Background is the destination image; Foreground is a potential donor channel for Combine, not a second visible Merge layer.
- For a simple alpha transfer, verify Combine Alpha before any Contract/Threshold/Spill work.
- Garbage Matte should remove unwanted coverage, Solid Matte should restore wanted coverage, and Effect Mask should only limit the node.
- Check Post Multiply after alpha changes on a translucent edge over a contrasting background.
- Judge Spill Suppression in RGB only after Alpha is already correct.
- Use Red/Cyan, Green/Magenta and Blue/Yellow as final edge-color refinements, not as a substitute for keying.
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
Remove an unwanted opaque object with Garbage Matte
Remove an unwanted boom/stand from an already-keyed RGBA branch through MatteControl.Garbage Matte rather than Effect Mask.
Starting conditions
DaVinci Resolve / Fusion 20 / 21 — verify in your installed build · Built-in Fusion tools only; no third-party plugins · Windows / macOS / Linux: live execution is not verified in this package
1920 × 1080 · 24 fps · 96 frames · Keep all image branches under the same project color-management setup. Mask streams are scalar coverage, not RGBA pictures.
- Numeric values are authored starting points. Verify node geometry, alpha and intermediate states instead of trusting only the final image.
Source material
- FG
RGBA foreground with an intentionally opaque yellow boom/stand outside the useful subject.
Replace with any keyed foreground that has an unwanted opaque region.
- BG
Background used to inspect the composite.
Replace with any opaque background.
Nodes and connections
FG— KeyedForeground · MediaInGARBAGE— GarbageShape · PolygonMaskMATTE— MatteControl · MatteControlBG— Background · MediaInMERGE— Composite · MergeOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
KeyedForeground (FG)Output | MatteControl (MATTE)Background | image |
GarbageShape (GARBAGE)Mask | MatteControl (MATTE)GarbageMatte | mask |
MatteControl (MATTE)Output | Composite (MERGE)Foreground | image |
Background (BG)Output | Composite (MERGE)Background | image |
Composite (MERGE)Output | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- GarbageShape (GARBAGE) / Controls / Polygon contour
"outline boom / stand only"Authored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- GarbageShape (GARBAGE) / Controls / Soft Edge
0.005Authored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- MatteControl (MATTE) / Matte / Garbage Matte Invert
falseAuthored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- MatteControl (MATTE) / Matte / Post Multiply Image
trueAuthored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- MatteControl (MATTE) / Controls / Multiply Garbage Matte
falseDo not add the historical extra RGB multiplication; Post Multiply Image determines the required final representation.
Reproduce the example
- Connect the keyed foreground specifically to the MatteControl Background input.
Matte operations are applied to the Background image of MatteControl; this is not the same semantic role as Merge.Background.
Check: With no garbage matte, MatteControl keeps the original foreground alpha.
- Draw a Polygon around the yellow stand and connect it to Garbage Matte, not Effect Mask.
Garbage Matte modifies image alpha; Effect Mask would only limit where the MatteControl operation is applied.
Check: The stand becomes transparent in the MatteControl Viewer while the subject remains.
- Use MatteControl as Merge Foreground and place the training plate in Merge Background.
A composite immediately shows whether the unwanted object is actually removed.
Check: The yellow stand disappears and the background shows through.
- View MatteControl Alpha and compare it with the original foreground.
RGB view alone can hide an alpha mistake.
Check: Garbage region is near alpha 0 while the subject stays opaque.
- Toggle Post Multiply only after the alpha is correct.
Post Multiply concerns RGB/alpha representation and cannot replace a correct garbage mask.
Check: With the documented setup a normal Merge should not retain a colored trace from the removed opaque area.
Expected result
- MatteControl (MATTE) · frame 0
The unwanted stand is removed from the foreground.
Alpha: Garbage region is near alpha 0 and the subject stays near 1.
- MediaOut (OUT) · frame 0
The background is visible where the stand used to be while the subject composites on top.
Alpha: The final frame is opaque because Merge has an opaque Background.
When the result differs
- Garbage matte removes nothing.
Cause: Polygon is connected to Effect Mask or the image is not on MatteControl.Background.
Correction: Use MatteControl.GarbageMatte and verify the orange Background input.
- The useful subject is removed instead.
Cause: Garbage Matte inversion is enabled or the contour covers the wrong area.
Correction: Disable inversion and inspect the Polygon by itself.
- A colored fringe remains.
Cause: RGB/alpha are not consistent after matte changes or the garbage edge is too soft.
Correction: Verify alpha first, then premultiplication and the mask geometry/Soft Edge.
Files for the example
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
General 2D Fusion node and masking workflow reference; NOT every Inspector parameter in these exercises.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Lesson 4, Matte Control workflow around printed p. 103. Confirms Background/Foreground/Garbage/Solid/Effect Mask roles; NOT every Inspector parameter below.
Restore a hole in alpha with Solid Matte
Force a lost alpha region back to opaque while the RGB under the hole is still present.
Starting conditions
DaVinci Resolve / Fusion 20 / 21 — verify in your installed build · Built-in Fusion tools only; no third-party plugins · Windows / macOS / Linux: live execution is not verified in this package
1920 × 1080 · 24 fps · 96 frames · Keep all image branches under the same project color-management setup. Mask streams are scalar coverage, not RGBA pictures.
- Numeric values are authored starting points. Verify node geometry, alpha and intermediate states instead of trusting only the final image.
Source material
- FG
RGBA foreground with a transparent circular alpha hole while RGB is preserved underneath.
Replace with a keyed foreground where alpha is missing locally but useful RGB still exists.
- BG
Contrasting background used to verify restoration.
Replace with any opaque background.
Nodes and connections
FG— ForegroundWithHole · MediaInSOLID— SolidRestore · EllipseMaskMATTE— MatteControl · MatteControlBG— Background · MediaInMERGE— Composite · MergeOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
ForegroundWithHole (FG)Output | MatteControl (MATTE)Background | image |
SolidRestore (SOLID)Mask | MatteControl (MATTE)SolidMatte | mask |
MatteControl (MATTE)Output | Composite (MERGE)Foreground | image |
Background (BG)Output | Composite (MERGE)Background | image |
Composite (MERGE)Output | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- SolidRestore (SOLID) / Controls / Center
[0.5,0.65]Authored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- SolidRestore (SOLID) / Controls / Width / Height
[0.13,0.2]Authored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- SolidRestore (SOLID) / Controls / Soft Edge
0.015Authored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- MatteControl (MATTE) / Matte / Solid Matte Invert
falseAuthored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- MatteControl (MATTE) / Matte / Post Multiply Image
trueAuthored starting value for this exercise; verify the corresponding Inspector control and result in your installed Resolve build.
- MatteControl (MATTE) / Controls / Multiply Garbage Matte
falseDo not add the historical extra RGB multiplication; Post Multiply Image determines the required final representation.
Reproduce the example
- Inspect the foreground in RGB and Alpha and confirm that the blue body has an alpha hole while RGB still exists there.
Solid Matte can only reveal useful color if that RGB was not destroyed upstream.
Check: Alpha is black in the hole but body color remains in RGB.
- Connect foreground to MatteControl.Background and Ellipse to Solid Matte.
Solid Matte forces the covered area opaque; it is a dedicated input, not Effect Mask.
Check: MatteControl Alpha becomes white inside the Ellipse.
- Fit the Ellipse to cover the missing region without extending far beyond the real subject.
An oversized Solid Matte can restore background or garbage that the keyer correctly removed.
Check: Only the lost subject area becomes white.
- Composite MatteControl as Merge Foreground over the training plate.
The composite proves whether both RGB and alpha are usable in the restored region.
Check: The hole disappears and the body color covers the background.
- Bypass MatteControl and compare.
This isolates the actual alpha repair from changes in the background or Viewer.
Check: Before MatteControl the plate shows through; after it the region is opaque.
Expected result
- MatteControl (MATTE) · frame 0
Body RGB is visible in the restored region.
Alpha: Solid Matte raises alpha under the Ellipse to an opaque value.
- MediaOut (OUT) · frame 0
The hole no longer reveals the background.
Alpha: Final composite alpha is opaque.
When the result differs
- Alpha becomes white but color does not return.
Cause: An upstream operation already destroyed RGB under the transparent region.
Correction: Use a source with preserved RGB or restore color from a separate branch; Solid Matte cannot invent RGB.
- Unwanted background returns around the subject.
Cause: Solid Matte is too large or misplaced.
Correction: Tighten the mask and inspect original alpha around the defect.
- The repaired boundary is visible.
Cause: Ellipse is too hard or premultiplication is inconsistent.
Correction: Add a small Soft Edge and check premultiplication after geometry is correct.
Files for the example
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
General 2D Fusion node and masking workflow reference; NOT every Inspector parameter in these exercises.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Lesson 4, Matte Control workflow around printed p. 103. Confirms Background/Foreground/Garbage/Solid/Effect Mask roles; NOT every Inspector parameter below.
Other outlines from the article
Embed a separate alpha into an RGB image
RGB goes to Background and the image carrying the desired alpha goes to Foreground. Combine Alpha transfers transparency, then Post Multiply prepares RGBA for a normal Merge.
- RGB image → Background
- Matte image → Foreground
- Combine Alpha
- Post Multiply Image
- Merge
Garbage matte after a keyer
The keyer preserves the fine subject edge while a simple Polygon connected to Garbage Matte removes set edges and other irrelevant regions.
- MediaIn
- DeltaKeyer
- MatteControl.Background
- Polygon → Garbage Matte
- Merge
Restore a lost region with Solid Matte
Solid Matte restores opacity only where needed. If upstream processing has already destroyed RGB under the hole, Solid Matte cannot reconstruct that color by itself.
- Keyed foreground → Background
- MaskPaint/Polygon → Solid Matte
- MatteControl
- Merge over contrast plate
Mistakes
- Feeding the primary image to Foreground and then wondering why Background does not receive the expected result.
- Treating Foreground like the visible upper layer of a Merge instead of a donor channel source.
- Using Effect Mask when the task actually requires a Garbage Matte and getting a localized operation instead of removed alpha coverage.
- Confusing Garbage and Solid Matte: one normally removes coverage while the other restores or holds it.
- Choosing Combine Alpha without confirming that the desired alpha actually exists in Foreground.
- Cycling through Combine Ops without viewing the current alpha and donor channel separately.
- Using aggressive Contract/Expand or thresholds that destroy hair, motion blur and translucent detail.
- Using a large Blur to disguise a bad key and creating a wide gray halo.
- Toggling Post Multiply as if it were a creative look instead of understanding straight versus premultiplied RGB.
- Judging despill before alpha is correct and hiding a geometry problem with edge color correction.
- Pushing Spill Suppression until skin turns gray, hair goes magenta or fabric loses its natural color.
- Checking only a still RGB view instead of Alpha, motion and a final Merge over a contrasting background.
Tips
- For alpha transfer, begin with the smallest control graph: RGB → Background, matte → Foreground, Combine Alpha, then Post Multiply.
- Name helper masks by role—Garbage_SetEdge, Solid_Hair, Holdout_Body—so their semantics stay obvious in a large Flow.
- Keep key generation and matte repair in separate nodes so each stage can be bypassed and diagnosed independently.
- Inspect Alpha first, RGB second and a Merge over a contrasting plate third; those are three different checks.
- Judge Contract/Expand at 100–400% and in motion. A clean still frame can hide unstable fine edges.
- Keep broad Garbage Mattes simple and stable; let the keyer solve fine hair rather than rotoscoping every strand.
- Solid Matte cannot recreate RGB that has already been destroyed. Restore color from an earlier/parallel image branch when necessary.
- After Combine Alpha, compare Post Multiply on/off on translucent edges; an opaque subject interior may show almost no difference.
- Use the minimum useful despill strength and restore natural edge color with the balance axes instead of continually increasing Suppression.
- If one MatteControl is simultaneously rescuing a poor key, complex roto logic and aggressive despill, split those jobs into readable stages.
Workflow order
- Feed the image whose RGB should remain and whose alpha should be changed into the orange Background input.
- If a donor alpha/channel comes from another image branch, feed it to the green Foreground input. For a simple alpha transfer, begin with Combine Alpha and a deliberate Combine Op.
- View Background, Foreground and MatteControl output in Alpha before edge cleanup. Confirm that the intended donor channel is actually driving the result.
- Use Garbage Matte only to remove unwanted coverage and Solid Matte only to restore/hold wanted opaque regions.
- Use Effect Mask only to spatially limit the entire MatteControl operation; do not substitute it for Garbage or Solid Matte.
- Shape alpha with small Contract/Expand changes first, then Filter/Blur if needed. Do not use a large blur to hide a poor key.
- Adjust Gamma and Threshold Low/High one control at a time while protecting hair, motion blur and translucent detail.
- Use Restore Fringe as edge refinement, not as a promise to recreate detail already destroyed upstream.
- After copying or modifying alpha, verify Post Multiply Image. Compare RGB/Alpha and a normal Merge over a contrasting plate for colored RGB residue in transparent pixels.
- Only after alpha is stable, move to Spill: choose the screen color, add only enough Suppression to remove contamination, then refine the fringe and color-balance axes if needed.
- Finally bypass MatteControl and review in motion. The result should improve the edge without new holes, gray halos, lost detail or an artificial color shift.
