FUSION · FULL ARTICLE
AlphaDivide
Technical RGB/alpha state conversion for documented color processing; Blur and Glow require their own alpha-aware ordering.
Overview
AlphaDivide → ColorCorrector → AlphaMultiply is a bracket for straight-RGB operations. Blur commonly processes coordinated premultiplied RGB/alpha, while Glow may create light outside alpha. Do not automatically place spatial effects inside the bracket; establish their channel contract first.
AlphaDivide performs the unpremultiply step: conceptually, it restores RGB to the state before multiplication by alpha. Alpha remains the coverage carrier while the intermediate image becomes straight/non-premultiplied. After the required processing, AlphaMultiply normally returns the branch to a premultiplied state.
Blackmagic documents the standard pair explicitly: premultiplied image → AlphaDivide → color correction → AlphaMultiply. If there is only one color-correction node and it provides Pre-Divide/Post-Multiply, that checkbox can often replace the explicit pair.
AlphaDivide has no effect-specific Controls of its own. The captured Inspector shows only the common Settings page: Blend, Process RGBA, Effect Mask options, Object/Material ID filtering, GPU, Layers and Comments. Those fields are infrastructure controls, not artistic AlphaDivide parameters.
Input is a normal 2D image with premultiplied alpha. The optional Effect Mask is applied as coverage after the tool is processed. This matters because partial masking or partial Blend can leave neighboring regions in different premultiplication states; for a normal technical pair, processing the whole RGBA branch consistently is usually easier to reason about.
AlphaDivide is not a matte erode/grow, keyer or alpha generator. It does not repair the shape of the matte. Use MatteControl, AlphaMatteShrinkandGrow, keyers or mask tools when the coverage itself is wrong.
Judge the operation at the edge, not the opaque center. A dark fringe after RGB correction often indicates incorrect premultiplication handling; a bright or colored fringe later in the graph can indicate that a straight-alpha branch was never returned through AlphaMultiply.
Keep the straight section short. Once the operations that truly require unpremultiplied RGB are complete, place AlphaMultiply before ordinary Merge/output work so the branch has an explicit and predictable state.
GPU, Layers, Object and Material settings belong to Fusion's common tool infrastructure. They can matter in specialized pipelines, but the core AlphaDivide contract remains simple: divide RGB by alpha before processing, then remultiply afterward.
When to use it
- Grade a keyed or roto subject without dark or bright edge fringes
- Perform grading inside the pair; place Blur/Glow separately with explicit RGB/alpha handling.
- Wrap third-party OFX with explicit premultiplication control
- Perform grading inside the pair; place Blur/Glow separately with explicit RGB/alpha handling.
- Diagnose black or colored halos around transparent elements
- Replace a single-node Pre-Divide/Post-Multiply workflow when multiple nodes need straight RGB
Article screenshots
Inputs & outputs
AlphaDivide: premultiplied Input → straight RGB Output; Effect Mask only gates contribution
AlphaDivide is a 2D channel-math processor. Orange Input should carry premultiplied RGBA; the node uses the existing alpha to unpremultiply RGB and outputs a straight image. The optional blue Effect Mask is post-process coverage rather than a second RGBA source.
Temporarily converts semitransparent RGB from premultiplied to straight state so downstream color/filter operations work on the underlying edge color.
Inputs
- Input
Premultiplied RGBA source
Receives: A 2D image with existing alpha, normally premultiplied: keyed/roto subject, antialiased graphic, motion-blurred render, PNG/EXR or another RGBA branch.
Inside the node: RGB in semitransparent pixels is conceptually divided by alpha and becomes straight/unpremultiplied for downstream processing; the node is not intended to reshape the matte itself.
Typical sources: MediaIn · Loader · DKeyer / ChromaKeyer result · Merge result · RGBA graphic
If the source is already straight, another AlphaDivide creates the wrong RGB state. Identify source premultiplication first.
- Effect Mask
Optional post-process coverage
Receives: A normal Fusion mask stream from Polygon, Rectangle, Ellipse, B-Spline, Bitmap or another mask node.
Inside the node: The mask gates AlphaDivide contribution after processing. Premultiplied and straight regions can meet at the mask boundary, so this is a more complex technical state than a full-frame divide.
Typical sources: Polygon · Rectangle · Ellipse · B-Spline · Bitmap
Do not use Effect Mask as matte repair or alpha replacement. For a standard divide→process→multiply bracket, consistent whole-branch processing is usually easier to reason about.
Outputs and destination
Output
A 2D RGBA image carrying straight/unpremultiplied RGB in the processed regions while alpha remains the coverage channel.
Next step: ColorCorrector · Blur · Glow · third-party OFX · AlphaMultiply
Do not normally feed this straight result directly to a conventional Merge Foreground; close the straight-alpha block with AlphaMultiply when downstream compositing expects premultiplied RGBA.
- Output
- RGBA with converted RGB; downstream processing must match its premultiplication state.
Processing order
- Input supplies a premultiplied 2D RGBA image.
- AlphaDivide restores straight/unpremultiplied RGB relative to the existing alpha.
- An optional Effect Mask gates spatial contribution after processing.
- Output remains a normal 2D RGBA image, but its premultiplication state is straight in the processed regions.
- After the required RGB operations, the branch is normally returned through AlphaMultiply before Merge/output.
Clean grade on a keyed subject
DKeyer → AlphaDivide → ColorCorrector → AlphaMultiply → Merge.Foreground
AlphaDivide opens a straight-RGB section before the correction and AlphaMultiply closes it before ordinary compositing.
Input = premultiplied image; AlphaDivide = temporary straight state; Effect Mask = coverage, not a second source; Output = image normally returned through AlphaMultiply.
Parameters
AlphaDivide · Inspector reference
AlphaDivide has no dedicated artistic Inspector: the node is a signal-state conversion and the visible current UI consists of common Settings/Layers. Read it as Input state → unpremultiply → temporary straight-RGB processing → AlphaMultiply rather than as a collection of look controls.
- Input
- Premultiplied RGBA
- Divide
- RGB ÷ alpha → straight
- Process
- Color / Blur / Glow / OFX
- Multiply
- Return to premultiplied
- Composite
- Merge / output
AlphaDivide · No dedicated Controls
Blackmagic explicitly describes AlphaDivide as having no effect-specific controls. Its only dedicated operation is dividing RGB by the existing alpha.
- Controls / Effect-specific controls
AlphaDivide > Controls / Effect-specific controlsAlphaDivide has no effect-specific controls. The Blackmagic reference explicitly states that the node has no dedicated Inspector controls; the visible parameters are on the common Settings page.
Check / distinguish: There is no Strength or Amount slider: AlphaDivide is a signal-state conversion, not an artistic effect.
- No effect-specific controls
InspectorAlphaDivide has no dedicated Controls page with Strength/Amount. The technical operation is fixed: unpremultiply RGB using the existing alpha.
Check / distinguish: If the UI shows only Settings, that is expected; do not look for a hidden artistic slider.
- Premultiplied is the required source state
Flow > InputThe divide makes sense when incoming RGB has already been multiplied by alpha. Applying it again to a straight source over-amplifies semitransparent RGB.
Check / distinguish: Check source metadata/pipeline and edge RGB before adding AlphaDivide.
- Alpha shape is not the target
RGBA stateAlphaDivide uses alpha as the divisor/reference but is not a matte grow/shrink/cleanup tool.
Check / distinguish: View the Alpha channel before/after and separate geometry defects from RGB fringe.
- Opaque pixels hide the issue
RGBA stateAt alpha=1 premultiplied and straight RGB are identical, so the opaque center often shows no difference.
Check / distinguish: Judge antialiasing, hair, motion blur and glow tails at 100–200%.
- Use AlphaMultiply as the closing bracket
Flow > downstreamStraight RGB is a temporary processing state. AlphaMultiply normally closes the block before the ordinary Merge/composite path.
Check / distinguish: Verify that the final straight-RGB operation is before AlphaMultiply.
- One color node may not need explicit nodes
Workflow boundaryColor tools with Pre-Divide/Post-Multiply can perform the same bracket internally for a single operation.
Check / distinguish: For one ColorCorrector, A/B the checkbox against explicit DIV→CC→MUL.
Settings · Blend · Channels · Mask
Blend and Process RGBA are common tool behavior. Mask controls gate result coverage and can create a locally mixed premultiplication state.
- Settings / Blend
Settings > Settings / BlendCommon dry/wet mix between the source and processed result. For AlphaDivide, intermediate Blend values mix premultiplied source with a straight result, so they are not a mathematically clean 'unpremultiply strength'.
Check / distinguish: For a technical pair, keep Blend at 1.0; use 0/1 for diagnosis rather than as a look control.
- Settings / Process when Blend is 0.0
Settings > Settings / Process when Blend is 0.0Prevents Fusion from skipping tool processing when Blend is zero. This is common Fusion infrastructure. A normal AlphaDivide chain rarely needs it; enable it only when there is a specific reason downstream or auxiliary processing must still execute at zero Blend.
Check / distinguish: If the goal is a simple bypass, leave it disabled.
- Settings / Process R G B A
Settings > Settings / Process R G B ACommon switches for channels allowed to be processed. The main AlphaDivide operation concerns RGB relative to alpha. Disabling individual channels creates a specialized mixed-channel state that should be intentional.
Check / distinguish: For standard unpremultiply work, leave the normal RGBA processing state intact.
- Settings / Apply Mask Inverted
Settings > Settings / Apply Mask InvertedInverts the connected Effect Mask. Only coverage changes; the AlphaDivide math itself does not.
Check / distinguish: With local divide, inspect the mask boundary for premultiplication discontinuities.
- Settings / Multiply by Mask
Settings > Settings / Multiply by MaskModulates contribution by the Effect Mask values. A soft mask can create a continuous mixture between premultiplied and straight representations. That can be deliberate coverage, but it is a poor hidden technical state for a long branch.
Check / distinguish: If the branch should be entirely straight, it is usually cleaner not to mask AlphaDivide.
- Blend is not unpremultiply strength
Settings > BlendBlend mixes the premultiplied source with the straight result; fractional values create an intermediate representation rather than a mathematically clean percentage of unpremultiply.
Check / distinguish: Technical baseline = 1.0; use 0/1 for bypass.
- Blend zero may skip processing
Settings > Process when Blend is 0.0This common checkbox controls whether the tool still processes at zero Blend. A normal divide/multiply pair rarely needs it.
Check / distinguish: Leave it off unless the pipeline has a specific reason to compute the node while bypassed.
- Channel switches are technical
Settings > Process R G B ADisabling individual channels creates a mixed-channel processing state and is not an artistic fringe-fix control.
Check / distinguish: Baseline is normal RGBA processing; change channel switches only for a documented special case.
- Effect Mask is post-process coverage
Flow > Effect MaskBlackmagic describes Effect Mask as limiting where the tool result is applied after processing.
Check / distinguish: Disconnect the mask cable: core divide semantics stay the same while coverage changes.
- Masking can create mixed premultiplication states
Settings > MaskIf AlphaDivide is applied only locally, one part of the image stream remains premultiplied while another becomes straight until the next stage.
Check / distinguish: For a normal technical bracket, compare a full-frame divide without a mask first.
- Apply Mask Inverted changes coverage only
Settings > Apply Mask InvertedInvert swaps the white/black side of mask coverage and does not change divide math.
Check / distinguish: View the mask separately and confirm which side should become straight.
- Multiply by Mask softens coverage
Settings > Multiply by MaskSoft mask values blend result contribution across a gradient, which can make the downstream premultiplication state less obvious.
Check / distinguish: If no local boundary is required, keep the branch full-frame and mask the downstream artistic effect rather than the divide.
Selection & compute · Object · Material · GPU · Flow
Object/Material use auxiliary IDs when available; GPU and Hide Incoming Connections affect execution/UI rather than image appearance.
- Settings / Use Object
Selection & compute > Settings / Use ObjectLimits common-tool processing by Object ID when that auxiliary channel exists. This is common Fusion selection infrastructure rather than a special AlphaDivide object picker.
Check / distinguish: Leave it off for ordinary 2D keyed or PNG workflows.
- Settings / Use Material
Selection & compute > Settings / Use MaterialLimits common-tool processing by Material ID when that auxiliary channel exists. Useful in render-pass pipelines, but not part of the basic premultiplication pair.
Check / distinguish: Confirm Material ID data before enabling it.
- Settings / Use GPU
Selection & compute > Settings / Use GPUCommon GPU policy: Disable, Auto or Enable. Blackmagic's GPU tool list includes Alpha Divide. Auto is normally the sensible default; forced modes are mainly for troubleshooting or compatibility.
Check / distinguish: GPU mode is an execution setting, not an image parameter.
- Settings / Hide Incoming Connections
Selection & compute > Settings / Hide Incoming ConnectionsHides incoming Flow cables for this node. UI-only graph preference; it does not change pixels or premultiplication math.
Check / distinguish: In production comps, keeping the divide/multiply block visually explicit is often more useful.
- Object filtering needs Object ID data
Settings > Use ObjectUse Object belongs to common auxiliary-ID filtering and does not create Object ID data itself.
Check / distinguish: Enable it only after verifying the Object ID channel.
- Material filtering needs Material ID data
Settings > Use MaterialUse Material only makes sense in a pipeline where Material ID data is actually present and routed correctly.
Check / distinguish: A normal PNG or keyed plate does not need this checkbox.
- GPU mode is execution, not look
Settings > Use GPUDisable/Auto/Enable change compute policy. Blackmagic's GPU list includes Alpha Divide; Auto is normally sufficient.
Check / distinguish: A/B GPU modes only for troubleshooting/performance, not for tuning edge color.
- Hide Incoming Connections is visual only
Settings > Hide Incoming ConnectionsThe option hides Flow cables and does not affect pixels.
Check / distinguish: For a premultiplication block, keeping connections visible is usually more useful.
Layers & notes · Layer routing · Comments
Layers control common layer routing; Comments are ideal for documenting where AlphaMultiply closes the straight-alpha block.
- Layers / Process Layers
Layers & notes > Layers / Process LayersSelects which image layers the common layer system processes. Default Layer fits normal RGBA footage. In multilayer images, choose explicitly only after confirming where the intended RGB/alpha pass lives.
Check / distinguish: Layer selection is not the same thing as channel selection inside one RGBA layer.
- Layers / Input Layer
Layers & notes > Layers / Input LayerSelects the input image layer read by the tool. Auto lets Fusion use the ordinary input-layer mapping.
Check / distinguish: If a multilayer source goes unexpectedly blank, verify Input Layer before blaming the divide math.
- Layers / Effect Mask Layer
Layers & notes > Layers / Effect Mask LayerSelects the layer used by the connected Effect Mask. Auto is appropriate for a normal single-layer mask; manual selection is mainly for multilayer mask sources.
Check / distinguish: Inspect the mask itself before changing layer routing to solve a premultiplication problem.
- Comments
Layers & notes > CommentsDocuments why the technical AlphaDivide exists in the comp. In a large graph, record which downstream AlphaMultiply closes the pair and which effect inside the block requires straight RGB.
Check / distinguish: A note such as 'unpremultiply for CC → remultiply at AML1' makes the graph easier to maintain.
- Process Layers is layer routing
Layers > Process LayersCommon Layers controls select image layers and do not change the AlphaDivide formula itself.
Check / distinguish: Leave Default Layer for a normal RGBA source.
- Input Layer is not alpha mode
Layers > Input LayerInput Layer selects the source layer in a multilayer image and is not a straight/premultiplied mode switch.
Check / distinguish: If the result is empty, check layer routing separately from premultiplication diagnosis.
- Effect Mask Layer belongs to mask routing
Layers > Effect Mask LayerThis dropdown selects the mask layer when the mask source is multilayer; it does not change RGB divide math.
Check / distinguish: View the mask channel before changing layer selection.
- Comments should document the pair
CommentsAlphaDivide is easy to lose in a large comp, so Comments should identify the downstream AlphaMultiply that closes the pair.
Check / distinguish: Record the purpose and closing node, for example 'straight for CC1/Glow1 → AML1'.
Guide › Result checks · Result checks
Compare source and output, checking the relevant channels and multiple frames.
- Check both black and white backgrounds
Viewer QCPremultiplication mismatch can produce different visual symptoms on dark and light backgrounds.
Check / distinguish: A/B over black, white and a saturated background without changing the processing chain.
- Bypass the pair as a pair
Viewer QCBypassing only AlphaDivide or only AlphaMultiply compares different signal states and is not a fair A/B.
Check / distinguish: For comparison, bypass/enable DIV+MUL together while keeping the middle processing fixed.
- Dark fringe and bright fringe point to different boundaries
TroubleshootingA dark edge after RGB processing often indicates work on premultiplied color; an overly bright downstream edge can indicate an unclosed straight branch.
Check / distinguish: Check placement of both block boundaries before retuning the keyer or grade.
- Do not keep straight state longer than needed
WorkflowThe longer the straight-alpha section, the harder it is to guarantee every downstream node expects that state.
Check / distinguish: Close with AlphaMultiply immediately after the last operation that truly needs straight RGB.
- Captured Settings are not node-specific controls
Captured InspectorThe screenshot documents current Blend/Process/Mask/GPU/Layers UI, but that is common Settings infrastructure and does not contradict the documented 'no controls' for AlphaDivide itself.
Check / distinguish: Keep effect-specific Controls and common Settings explicitly separated in the article.
Before adjusting the node
- Identify the source state first: AlphaDivide is for premultiplied RGBA, not an image that is already straight.
- This node has no dedicated Controls; the current screenshot shows common Settings/Layers.
- Blend=1 is the normal technical baseline. Fractional Blend mixes premultiplied and straight representations.
- Effect Mask acts as post-process coverage and can create a local mixed state, so use it deliberately.
- After the last operation that needs straight RGB, the branch should normally pass through AlphaMultiply before Merge.
- Inspect semi-transparent edges over black, white and saturated backgrounds rather than only the opaque center.
- AlphaDivide does not repair matte shape; use matte/key tools for coverage defects.
- For one color node with Pre-Divide/Post-Multiply, compare the built-in option because it may be cleaner than an explicit pair.
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
AlphaDivide: clean color correction on transparent edges
Build the basic AlphaDivide → ColorCorrector → AlphaMultiply bracket and inspect the edge over a contrasting background.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; AlphaDivide semantics cross-checked against the Resolve 21 Matte Nodes reference and the captured current Settings Inspector · Built-in Fusion Matte tools; no third-party plugins required · Cross-platform reference; live Resolve execution was not run in this package
1920 × 1080 · 24 fps · 96 frames · These exercises focus on premultiplied vs straight RGBA state. Keep the project color-management setup fixed while comparing edge behavior.
- A source with meaningful semi-transparent alpha edges (keyed subject, antialiased graphic, motion blur or rendered RGBA)
- AlphaMultiply closes the temporary straight-alpha block before ordinary Merge/output compositing
Source material
- SRC
RGBA source with soft alpha edges.
A keyed subject, antialiased PNG/graphic, or render with motion blur.
Nodes and connections
SRC— Premultiplied RGBA · MediaInDIV— AlphaDivide · AlphaDivideCC— ColorCorrector · ColorCorrectorMUL— AlphaMultiply · AlphaMultiplyBG— Contrast Background · BackgroundMERGE— Merge · MergeOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
Premultiplied RGBA (SRC)Output | AlphaDivide (DIV)Input | image |
AlphaDivide (DIV)Output | ColorCorrector (CC)Input | image |
ColorCorrector (CC)Output | AlphaMultiply (MUL)Input | image |
AlphaMultiply (MUL)Output | Merge (MERGE)Foreground | image |
Contrast Background (BG)Output | Merge (MERGE)Background | image |
Merge (MERGE)Output | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- AlphaDivide (DIV) / Settings / Blend
1Use AlphaDivide as a full technical state conversion, not a partial look mix.
- ColorCorrector (CC) / Controls / Gain
1.25A visible RGB change makes premultiplication edge errors easier to compare.
- Contrast Background (BG) / Controls / Color
[0.05,0.05,0.05,1]A dark contrast background reveals bright or dirty fringes.
- ColorCorrector (CC) / Controls / Gamma
1.15Nonlinear gamma reveals the difference between grading straight and premultiplied RGB at soft edges. Gain alone commutes with alpha multiplication and does not demonstrate that difference.
- AlphaMultiply (MUL) / Settings / Blend
1Fully restore premultiplied RGB before compositing.
- ColorCorrector (CC) / Controls / Pre-Divide/Post-Multiply
falseRGB is already straight after the external AlphaDivide; do not divide again inside ColorCorrector.
Reproduce the example
- Wire SRC → AlphaDivide → ColorCorrector → AlphaMultiply → Merge.Foreground and feed Background into Merge.Background.
ColorCorrector should work inside the straight-alpha section while Merge receives premultiplied RGBA again.
Check: Divide and Multiply form an explicit bracket around CC in the graph.
- Make a visible RGB correction and compare the edge with the AlphaDivide/AlphaMultiply block temporarily bypassed.
The difference appears primarily in semi-transparent pixels, not the opaque center.
Check: The correct pair reduces premultiplication fringe while preserving the original alpha shape.
Expected result
- MediaOut (OUT) · frame 48
The RGB correction changes the object color while the semi-transparent edge stays clean over the contrasting background.
Alpha: The source alpha shape is preserved; AlphaDivide/AlphaMultiply change premultiplication state rather than matte geometry.
When the result differs
- The edge becomes bright after Merge.
Cause: AlphaMultiply is missing, bypassed, or placed before the final RGB operation.
Correction: Close the straight-alpha section with AlphaMultiply immediately before the normal compositing path.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Matte Nodes / Alpha Divide & Alpha Multiply
Fusion Page Effects > Matte Nodes > Alpha Divide [ADv] and Alpha Multiply [AMl]: premultiplied input, straight intermediate RGB, optional Effect Mask, no effect-specific controls, and the divide → processing → multiply workflow.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion image sources/sinks, Merge, Blur, ColorCorrector, Glow and premultiplication workflow context used by the practice graphs.
Neutral AlphaDivide → AlphaMultiply round trip
Separate RGB state conversion from filtering and check reversibility where alpha is nonzero.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; AlphaDivide semantics cross-checked against the Resolve 21 Matte Nodes reference and the captured current Settings Inspector · Built-in Fusion Matte tools; no third-party plugins required · Cross-platform reference; live Resolve execution was not run in this package
1920 × 1080 · 24 fps · 96 frames · These exercises focus on premultiplied vs straight RGBA state. Keep the project color-management setup fixed while comparing edge behavior.
- A source with meaningful semi-transparent alpha edges (keyed subject, antialiased graphic, motion blur or rendered RGBA)
- AlphaMultiply closes the temporary straight-alpha block before ordinary Merge/output compositing
Source material
- SRC
RGBA source with soft alpha edges.
A keyed subject, antialiased PNG/graphic, or render with motion blur.
Nodes and connections
SRC— Premultiplied RGBA · MediaInDIV— AlphaDivide · AlphaDivideMUL— AlphaMultiply · AlphaMultiplyBG— Background · BackgroundMERGE— Merge · MergeOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Premultiplied RGBA (SRC)Output | AlphaDivide (DIV)Input | image |
AlphaDivide (DIV)Output | AlphaMultiply (MUL)Input | image |
Background (BG)Output | Merge (MERGE)Background | image |
Merge (MERGE)Output | Output (OUT)Input | image |
AlphaMultiply (MUL)Output | Merge (MERGE)Foreground | image |
Graph output: Output (OUT)
Parameter values
- AlphaDivide (DIV) / Settings / Blend
1Fully convert to straight RGB without mixing the two representations.
- AlphaMultiply (MUL) / Settings / Blend
1Fully restore premultiplied RGB before a spatial effect or Merge.
- Background (BG) / Color / Color
[0.85,0.85,0.85,1]A contrasting background reveals changes at the soft edge.
- Merge (MERGE) / Merge / Subtractive / Additive
1Additive expects an already premultiplied foreground.
Reproduce the example
- Connect premultiplied RGBA through AlphaDivide → AlphaMultiply to Merge.Foreground. Connect BG to Merge.Background and set both conversion Blend controls to 1.
No operation inside the pair changes color or coverage.
Check: SRC, DIV and MUL have identical alpha.
- Compare SRC and MUL at alpha 0.25, 0.5 and 1; then temporarily connect SRC directly to Merge.Foreground.
For nonzero alpha, division followed by multiplication restores RGB within numerical precision. Division cannot recover color at alpha=0.
Check: Composites match on valid semitransparent pixels.
Expected result
- Output (OUT) · frame 48
At nonzero alpha the color returns to the source; the two nodes do not add sharpness or generate a new matte.
Alpha: Source alpha is preserved. Zero-alpha pixels must be distinguished from emissive RGB.
When the result differs
- The edge became dark.
Cause: RGB was multiplied by alpha twice, or Subtractive Merge received premultiplied input.
Correction: Remove duplicate multiplication and use Additive for premultiplied input.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Matte Nodes / Alpha Divide & Alpha Multiply
Fusion Page Effects > Matte Nodes > Alpha Divide [ADv] and Alpha Multiply [AMl]: premultiplied input, straight intermediate RGB, optional Effect Mask, no effect-specific controls, and the divide → processing → multiply workflow.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion image sources/sinks, Merge, Blur, ColorCorrector, Glow and premultiplication workflow context used by the practice graphs.
Grade inside the pair; Glow after AlphaMultiply
Separate straight-RGB grading from an emissive glow that may contain color at zero alpha.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; AlphaDivide semantics cross-checked against the Resolve 21 Matte Nodes reference and the captured current Settings Inspector · Built-in Fusion Matte tools; no third-party plugins required · Cross-platform reference; live Resolve execution was not run in this package
1920 × 1080 · 24 fps · 96 frames · These exercises focus on premultiplied vs straight RGBA state. Keep the project color-management setup fixed while comparing edge behavior.
- A source with meaningful semi-transparent alpha edges (keyed subject, antialiased graphic, motion blur or rendered RGBA)
- AlphaMultiply closes the temporary straight-alpha block before ordinary Merge/output compositing
Source material
- SRC
RGBA source with soft alpha edges.
A keyed subject, antialiased PNG/graphic, or render with motion blur.
Nodes and connections
SRC— Premultiplied RGBA · MediaInDIV— AlphaDivide · AlphaDivideMUL— AlphaMultiply · AlphaMultiplyBG— Background · BackgroundMERGE— Merge · MergeOUT— Output · MediaOutCC— Straight RGB correction · ColorCorrectorGLOW— Glow after premultiply · Glow
| Source | Destination | Data |
|---|---|---|
Premultiplied RGBA (SRC)Output | AlphaDivide (DIV)Input | image |
Background (BG)Output | Merge (MERGE)Background | image |
Merge (MERGE)Output | Output (OUT)Input | image |
AlphaDivide (DIV)Output | Straight RGB correction (CC)Input | image |
Straight RGB correction (CC)Output | AlphaMultiply (MUL)Input | image |
AlphaMultiply (MUL)Output | Glow after premultiply (GLOW)Input | image |
Glow after premultiply (GLOW)Output | Merge (MERGE)Foreground | image |
Graph output: Output (OUT)
Parameter values
- AlphaDivide (DIV) / Settings / Blend
1Fully convert to straight RGB without mixing the two representations.
- AlphaMultiply (MUL) / Settings / Blend
1Fully restore premultiplied RGB before a spatial effect or Merge.
- Background (BG) / Color / Color
[0.03,0.03,0.03,1]A contrasting background reveals changes at the soft edge.
- Merge (MERGE) / Merge / Subtractive / Additive
1Additive expects an already premultiplied foreground.
- Straight RGB correction (CC) / Colors / Gain
1.15A small color correction is applied to straight RGB.
- Glow after premultiply (GLOW) / Controls / Gain
0.25A moderate glow is calculated after restoring premultiplied RGB.
- Glow after premultiply (GLOW) / Controls / Alpha Channel
falseThe glow adds RGB beyond the object without extending alpha; a subsequent AlphaMultiply would cut off that light.
- Straight RGB correction (CC) / Controls / Gamma
1.15Nonlinear gamma reveals the difference between grading straight and premultiplied RGB at soft edges. Gain alone commutes with alpha multiplication and does not demonstrate that difference.
- Straight RGB correction (CC) / Controls / Pre-Divide/Post-Multiply
falseRGB is already straight after the external AlphaDivide; do not divide again inside ColorCorrector.
Reproduce the example
- Build SRC → AlphaDivide → ColorCorrector → AlphaMultiply. Set Gain 1.15 and both Blend controls to 1.
Finish color correction before spatial light spreading.
Check: Alpha remains unchanged inside the pair.
- Add Glow after AlphaMultiply; keep RGB enabled, disable Alpha Channel and set Gain 0.25. Connect Glow to Merge.Foreground with Additive.
Glow RGB can extend beyond the original alpha; multiplying by that alpha again would suppress it.
Check: Light extends beyond the contour in RGB while alpha stays unchanged.
Expected result
- Output (OUT) · frame 48
Object color is corrected before Glow; glow RGB is added to the background without another AlphaMultiply cutting it off.
Alpha: Source alpha is preserved. Zero-alpha pixels must be distinguished from emissive RGB.
When the result differs
- The edge became dark.
Cause: RGB was multiplied by alpha twice, or Subtractive Merge received premultiplied input.
Correction: Remove duplicate multiplication and use Additive for premultiplied input.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Matte Nodes / Alpha Divide & Alpha Multiply
Fusion Page Effects > Matte Nodes > Alpha Divide [ADv] and Alpha Multiply [AMl]: premultiplied input, straight intermediate RGB, optional Effect Mask, no effect-specific controls, and the divide → processing → multiply workflow.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion image sources/sinks, Merge, Blur, ColorCorrector, Glow and premultiplication workflow context used by the practice graphs.
Other outlines from the article
Color correction
Straight-RGB grading inside an explicit state-conversion bracket.
- MediaIn
- AlphaDivide
- ColorCorrector
- AlphaMultiply
- Merge
Neutral round trip
Compare the source with a neutral conversion pair at unchanged alpha.
- MediaIn
- AlphaDivide
- AlphaMultiply
- Merge
Glow after color correction
Create glow after restoring premultiplied RGB; do not multiply the emissive light by alpha again.
- MediaIn
- AlphaDivide
- ColorCorrector
- AlphaMultiply
- Glow
- Merge
Mistakes
- Leaving the branch straight/unpremultiplied when it reaches Merge
- Treating AlphaDivide as a tool for editing the matte shape itself
- Using Blend as an artistic Strength and mixing different premultiplication states
- Masking only AlphaDivide while applying AlphaMultiply globally without understanding the resulting state
- Dividing twice or applying AlphaDivide to a source that is already straight
- Forgetting AlphaMultiply after a multi-node straight-RGB block
- Trying to fix a premultiplication fringe by changing the key before checking signal state
- Judging only on a neutral viewer background rather than contrasting backgrounds
- Treating common Settings controls as dedicated AlphaDivide parameters
- Randomly disabling R/G/B/A channels
- Enabling Object or Material filtering without corresponding auxiliary ID channels
Tips
- Think of AlphaDivide and AlphaMultiply as one paired operation with a temporary straight-alpha section between them.
- The fastest QC is to composite over pure black, pure white and a saturated color while inspecting edges at 100–200%.
- If only one OFX creates the problem, wrap that specific section rather than the entire comp.
- For one ColorCorrector, check Pre-Divide/Post-Multiply first; it may be cleaner than two explicit nodes.
- If the matte geometry is wrong, repair the matte separately; AlphaDivide cannot recover missing hair or holes.
- Label the start and end of the premultiplication block in Comments or an Underlay on large production flows.
- Do not use an unchanged opaque center as proof that the node does nothing; inspect semitransparent edge pixels.
- In multilayer render passes, confirm layer and auxiliary routing before diagnosing divide math.
Workflow order
- Confirm that the source really is premultiplied RGBA and that the defect is visible in semi-transparent edges rather than being a bad key or matte.
- Place AlphaDivide immediately before the first operation that needs straight RGB.
- Keep AlphaDivide at Blend 1.0 and avoid masking it unless a mixed local state is deliberate.
- Perform grading inside the pair; place Blur/Glow separately with explicit RGB/alpha handling.
- Place AlphaMultiply immediately after the last operation that needs straight RGB and before the normal Merge/output path.
- Compare corrected and bypassed versions over black, white and saturated contrasting backgrounds.
- Inspect RGB and Alpha separately; AlphaDivide is not a way to repair matte geometry.
- For a single color node that offers Pre-Divide/Post-Multiply, compare the built-in option against the explicit pair and keep the clearer graph.
