FUSION · FULL ARTICLE
LumaKeyer
Builds a matte from image luminance, letting bright or dark regions become transparent or isolated without relying on hue.
Overview
LumaKeyer maps luminance into alpha using Low/High thresholds and matte finesse controls. It works well on elements that are inherently brighter or darker than their background.
Unlike ChromaKeyer, color does not define the selection. That makes LumaKeyer useful for monochrome effects, matte passes and photographic content where hue varies but luminance contrast is strong.
As with any threshold-based key, preserve intermediate values when motion blur, smoke or soft light edges matter. Hard clipping can make natural semi-transparent material look cut out.
When to use it
- Extract bright smoke or light effects
- Remove a black/white background
- Build a highlight or shadow matte
- Create local color-correction masks
- Generate mattes from grayscale passes
Inputs & outputs
LumaKeyer: channel-to-alpha plus three independent mask inputs
LumaKeyer converts a selected channel into alpha. Beyond Input, Garbage Matte removes, Solid Matte holds opacity and Effect Mask limits where the key itself is applied.
Selects Channel, maps Low/High into alpha, then refines the matte with filter/blur/contract/gamma.
Inputs
- Input
Channel source
Receives: A 2D image with luminance/RGB/alpha or auxiliary channel data.
Inside the node: The selected Channel becomes the matte source.
Typical sources: MediaIn · Loader · Renderer output
- Garbage Matte
Force removal
Receives: A helper mask.
Inside the node: Forces the corresponding region transparent in final alpha.
Typical sources: Polygon · B-Spline
- Solid Matte
Force holdout
Receives: A helper mask.
Inside the node: Forces the corresponding region opaque in final alpha.
Typical sources: Rectangle · Polygon
- Effect Mask
Limit luminance key
Receives: An effect mask.
Inside the node: Limits where the computed key is applied to the image.
Typical sources: Ellipse · Polygon · Bitmap
Outputs and destination
Output
Image with alpha derived from the selected channel range plus helper mattes.
Next step: Merge · Glow / LightRays branch · ColorCorrector mask workflow · MediaOut
- Output
- Image with alpha built from the selected luminance/RGB/alpha/saturation/hue/depth channel.
Processing order
- Input provides image/channel data.
- Channel selects the matte source.
- Low/High and edge controls form alpha.
- Garbage/Solid mattes directly modify the matte while Effect Mask limits keying.
- Output sends keyed RGBA downstream.
Light pass
MediaIn → LumaKeyer → Merge.Foreground · Background → Merge.Background
Low/High isolate the light range while gray alpha values preserve natural falloff.
The core of LumaKeyer is Channel + Low/High. Blur and helper mattes refine the matte rather than replace correct range selection.
Parameters
LumaKeyer · Inspector reference
LumaKeyer is effectively a channel keyer: choose Channel and Low/High range first, then make minimal edge refinements. Solid/Garbage/Effect Mask solve different problems and do not replace a correct range.
- Channel
- Luma / RGB / Alpha / Hue / Sat / Z
- Range
- Low / High
- Edge
- Filter / Blur / Contract / Gamma
- Helpers
- Garbage / Solid / Effect Mask
Selection · Channel & range
Channel and Low/High decide which values become the matte.
- Channel
Selection > ChannelChooses the channel or luminance source used for the key. Use luminance for brightness-based separation; individual channels can be useful when one channel has cleaner contrast.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Low / High
Selection > Low / HighRemaps the selected channel into alpha. Values below Low become 0, values above High become 1, and intermediate values produce grayscale. With Low=0.35 and High=0.85, input 0.60 lies halfway through the ramp while 1.0 remains white. Lowering High makes more bright values opaque; it does not reject highlights. A band-pass selection requires a separate combination of lower and upper keys.
Check / distinguish: Start with a 0–1 gradient and inspect Low=0.35/High=0.85 in Alpha Viewer.
- LumaKeyer as channel keyer
Controls > ChannelThe node can derive mattes from RGB, Alpha, Saturation, Hue and Depth as well as luminance; its name is narrower than its actual role.
Check / distinguish: Switch Channel on the same frame and compare Alpha Viewer only.
Matte · Matte edge
Filter, Blur, Clipping, Contract/Expand and Gamma refine the edge and intermediate values.
- Filter
Matte > 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 > BlurSets the amount of blur.
Check / distinguish: Inspect the edge at 100% Viewer scale and at the intended output size.
- Clipping Mode
Matte > Clipping ModeSelects the Clipping Mode used by LumaKeyer.
Check / distinguish: Check result resolution and bounds separately from visual shape.
- Contract / Expand
Matte > Contract / ExpandContracts or expands semitransparent matte edges. Only intermediate alpha values are affected; a hard binary edge does not change. Negative values contract and positive values expand. Use Erode/Dilate for binary contour morphology.
Check / distinguish: Compare a soft and hard edge while changing only Contract/Expand.
- Gamma
Matte > GammaControls intermediate matte density. Often a better first adjustment than hard clipping when soft transparency matters.
Check / distinguish: Change only this control from its default state and compare before/after.
Mask / Output · Invert & helper mattes
Invert, Solid/Garbage Matte and Post Multiply control final alpha/RGB behavior.
- Invert
Mask / Output > InvertReverses the selected luminance range. Useful when the dark regions, rather than the bright regions, should be retained.
Check / distinguish: Toggle Invert and inspect the coverage in the Alpha Viewer.
- Solid Matte: Invert
Mask / Output > Solid Matte: InvertSets Solid Matte to Invert.
Check / distinguish: Toggle Invert and inspect the coverage in the Alpha Viewer.
- Garbage Matte: Invert
Mask / Output > Garbage Matte: InvertSets Garbage Matte to Invert.
Check / distinguish: Toggle Invert and inspect the coverage in the Alpha Viewer.
- Post Multiply Image
Mask / Output > Post Multiply ImageMultiplies RGB by the resulting alpha. Useful when preparing a cutout for compositing.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Effect Mask vs helper mattes
Node inputsEffect Mask limits where the key runs; Garbage/Solid Matte directly alter resulting alpha in their regions.
Check / distinguish: Use one test Ellipse in each of the three inputs in turn.
Before adjusting the node
- Tune Low/High in Alpha Viewer; RGB can hide gray contamination.
- Find the correct range first, then add minimal Blur/Contract, not the other way around.
- Hue/Saturation/Depth are alternate channel sources; complex chroma work is usually better handled by a dedicated keyer.
- Garbage Matte forces transparency, Solid Matte forces opacity, and Effect Mask limits the luminance key itself.
- Judge Post Multiply in a real Merge over a contrast background because mistakes appear as RGB/alpha fringe.
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
Extract a light pass with Luma Keyer
Build a luminance matte while preserving soft light falloff.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; keyer behavior checked against Blackmagic Resolve/Fusion documentation · Free / Studio where the documented node is available · Windows target; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 96 frames · DaVinci YRGB / Rec.709 Gamma 2.4 baseline; key quality depends on source encoding, subsampling and lighting
- Native Fusion nodes only
- Use a test green/blue-screen plate or the stated synthetic replacement
Source material
- SRC
Plate with bright highlights/smoke over a darker field
Any high-contrast light plate
Nodes and connections
SRC— LIGHT PLATE · MediaInK— LUMA KEY · LumaKeyerBG— DARK BG · BackgroundM— MERGE · Merge
| Source | Destination | Data |
|---|---|---|
LIGHT PLATE (SRC)Output | LUMA KEY (K)Input | image |
DARK BG (BG)Output | MERGE (M)Background | image |
LUMA KEY (K)Output | MERGE (M)Foreground | image |
Graph output: MERGE (M)
Parameter values
- LUMA KEY (K) / Controls / Low / High
"0.35 / 0.85"Initial luminance range to be refined visually.
- LUMA KEY (K) / Controls / Gamma
1Keep intermediate alpha neutral for the first pass.
- DARK BG (BG) / Color / Color
[0.02,0.02,0.02,1]Dark test background makes light-edge transparency readable.
Reproduce the example
- Choose Channel = Luminance and tune Low/High in Alpha Viewer.
The primary task is luminance range selection, not blur.
Check: Bright areas are white, light falloff remains gray and background is black.
- Composite the keyed light over the dark Background and compare with source.
Intermediate alpha determines natural light falloff.
Check: No hard cutout or halo from excessive threshold/blur.
Expected result
- MERGE (M) · frame 48
A soft luminance-keyed light pass ready for downstream comp/effects.
Alpha: Alpha follows the light-pass luminance and preserves gray transitions.
When the result differs
- The light looks pasted on
Cause: Low/High is clipped too hard or the matte is overblurred after clipping.
Correction: Open the range and restore natural gray alpha values.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion node-graph, masks and compositing fundamentals used by supporting MediaIn/Background/Merge/MediaOut nodes.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Compositing Green-Screen Content: Delta Keyer, Clean Plate, alpha inspection and helper mattes. Exercise values are editorial starting points, not Blackmagic presets.
- Blackmagic Design — Fusion Matte/Keyer documentation
Chroma, Delta, Ultra and Luma keyer concepts; Garbage/Solid/Effect Matte input roles.
Luma Keyer: Solid, Garbage and Effect Mask
Verify the four Luma Keyer inputs without confusing their roles.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; keyer behavior checked against Blackmagic Resolve/Fusion documentation · Free / Studio where the documented node is available · Windows target; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 96 frames · DaVinci YRGB / Rec.709 Gamma 2.4 baseline; key quality depends on source encoding, subsampling and lighting
- Native Fusion nodes only
- Use a test green/blue-screen plate or the stated synthetic replacement
Source material
- SRC
Plate with a bright region, unwanted outer area and a region to hold
Any high-contrast source for the technical test
Nodes and connections
SRC— PLATE · MediaInG— GARBAGE · PolygonMaskS— SOLID · RectangleMaskE— EFFECT · EllipseMaskK— LUMA · LumaKeyerOUT— OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
PLATE (SRC)Output | LUMA (K)Input | image |
GARBAGE (G)Mask | LUMA (K)GarbageMatte | mask |
SOLID (S)Mask | LUMA (K)SolidMatte | mask |
EFFECT (E)Mask | LUMA (K)EffectMask | mask |
LUMA (K)Output | OUT (OUT)Input | image |
Graph output: OUT (OUT)
Parameter values
- LUMA (K) / Controls / Low / High
"0.4 / 0.9"Creates a deliberately selective matte for helper-matte testing.
- EFFECT (E) / Controls / Soft Edge
0.08Makes the effect-mask boundary visible but not harsh.
Reproduce the example
- Connect Polygon to Garbage Matte and Rectangle to Solid Matte, then compare alpha one at a time.
One input removes opacity while the other forces opacity back.
Check: Garbage region is black and Solid region is white regardless of the luminance key.
- Add Ellipse to Effect Mask and verify it limits the keying operation rather than simply forcing alpha white/black.
Effect Mask limits the node's operation; it is not a Solid/Garbage Matte.
Check: Key application changes inside/outside Effect Mask while helper mattes keep their own roles.
Expected result
- OUT (OUT) · frame 48
Clearly separated roles for Input, Garbage Matte, Solid Matte and Effect Mask.
Alpha: Each helper input changes the matte only according to its own semantics.
When the result differs
- Effect Mask appears to behave like Solid Matte
Cause: The comparison is made only in final RGB or the masks overlap.
Correction: Disable helper masks one at a time and compare in Alpha Viewer on a simple frame.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion node-graph, masks and compositing fundamentals used by supporting MediaIn/Background/Merge/MediaOut nodes.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Compositing Green-Screen Content: Delta Keyer, Clean Plate, alpha inspection and helper mattes. Exercise values are editorial starting points, not Blackmagic presets.
- Blackmagic Design — Fusion Matte/Keyer documentation
Chroma, Delta, Ultra and Luma keyer concepts; Garbage/Solid/Effect Matte input roles.
Other outlines from the article
Light pass extraction
Bright light elements are isolated and added over another image.
- Light plate
- LumaKeyer
- Merge (Add)
Shadow matte
Dark image regions become a mask for local grading.
- MediaIn
- LumaKeyer
- ColorCorrector
Mistakes
- Clipping thresholds so hard that smoke and motion blur lose transparency.
- Using LumaKeyer when foreground and background have nearly identical brightness.
- Ignoring helper mattes and overcomplicating global threshold settings.
Tips
- Inspect the matte over both black and white backgrounds.
- Prefer Gamma and soft controls before aggressive black/white clipping.
- A pre-grade can sometimes create cleaner luminance separation before the key.
Workflow order
- Choose a source with useful luminance separation.
- Adjust Low/High while viewing the matte.
- Use Gamma to shape semi-transparent regions.
- Add small Filter/Blur or Contract/Expand corrections.
- Use helper mattes for local cleanup.
- Composite over a test background and inspect soft edges.
