FUSION · FULL ARTICLE
Cryptomatte
A Studio tool that reads Cryptomatte layers and metadata from a compatible EXR, selecting object/material IDs without manual roto while preserving renderer-authored coverage.
Overview
Cryptomatte in DaVinci Resolve/Fusion is a native Studio workflow for post-selecting objects and materials from CG renders. Resolve 20 introduced native Cryptomatte support that reads embedded mattes and metadata from EXR sources.
The source must actually contain compatible Cryptomatte layers plus manifest/metadata. A PNG, JPEG, H.264 file or ordinary EXR does not become Cryptomatte merely by connecting it to this node.
Cryptomatte is not object detection, semantic segmentation or tracking. Names and coverage are authored at render time; Fusion interprets that stored data.
In Resolve 21, Renderer3D using the Hardware Renderer can generate object/material Cryptomatte layers and metadata. That is an upstream render step; the Cryptomatte node remains a downstream reader and selector.
The node has one 2D image input and one 2D image output. Even View Mode = Matte remains an image representation until you explicitly convert it to a mask or use an alpha workflow.
When a downstream tool expects a real Effect Mask, a clear topology is Cryptomatte in Matte mode into Bitmap, then Bitmap.Mask into the blue Effect Mask socket.
View Layer chooses the Cryptomatte layer/matte type used for inspection and selection, such as Object or Material when those namespaces were written by the renderer. The Resolve 20 guide described this control as Layer.
If the expected Object or Material layer is missing, diagnose the source, metadata and render settings before trying to repair the problem with Pick or View Mode.
View Mode = Colors displays ID regions as technical colors. Those colors are for selection and diagnostics; they are not beauty RGB values.
View Mode = Edges shows the source image with Cryptomatte boundary diagnostics. It is not an edge-detection effect such as EdgeDetect.
View Mode = Beauty displays the normal source beauty and is useful for locating the subject, but it does not prove matte quality.
View Mode = Matte displays current selected coverage. Gray values around antialiasing, motion blur, depth of field and transparency can be correct and should not be clipped automatically.
Output to Alpha routes the selected Cryptomatte into alpha in the captured current Inspector. Verify the exact RGB-plus-alpha behavior on the target build before production automation.
Pick maps a visual Viewer location to a Cryptomatte entry. Blackmagic also documents an eyedropper-style drag workflow; always verify the result in Selected Matte List.
Mode = Add includes the picked entry in the current matte and can assemble one selection from multiple objects or materials.
Mode = Remove excludes the picked entry. It changes selection membership rather than globally inverting the matte.
Selected Matte List is the authoritative list of included entries and the clearest audit trail for manual Pick/Add/Remove work.
Clear removes selected entries, while Clear All empties the complete Selected Matte List. They are different reset scopes.
Clear Selected Layer removes all selected mattes that belong to the current Cryptomatte layer. It is not a command for deleting one current list row.
Resolve 20.1 added Expression for regular-expression based selection, which is useful with stable production naming such as car_body_*, glass_* or crowd_*.
Expression is best understood as regex selection over named Cryptomatte entries rather than a generic field for typing raw hashes or IDs.
Matte Layers = Selected/View/All changes the scope used for selection and inspection. It does not change the physical type of the output port.
A major Cryptomatte advantage is renderer-authored coverage: antialiasing, motion-blur and depth-of-field contributions are generally more useful than a hard object-ID mask.
Preserve multilayer EXR data and metadata through the pipeline. A transcode can look identical in beauty RGB while silently destroying the data Cryptomatte needs.
For EXRs from an external DCC or renderer, inspect the actual layer names and manifest. A filename or renderer checkbox alone does not prove that compatible data reached Fusion.
Stable meaningful object/material names make Pick, Selected Matte List and regex Expression reproducible instead of opaque technical selections.
Colors, Edges, Beauty and Matte are diagnostic representations of the same workflow. Do not accidentally deliver a diagnostic Colors or Matte view as final beauty.
When a correction needs beauty RGB and a matte separately, keep the beauty branch independent and convert the Cryptomatte selection through Bitmap or a deliberately verified alpha workflow.
For scripting, never guess internal control IDs from display labels. Confirm serialization by exporting a .setting/.comp on the target Resolve build.
When to use it
- Select a CG object from a multilayer EXR without manual roto.
- Assemble a matte from multiple object IDs with Add.
- Select a material independently of object geometry.
- Drive a selective grade through Bitmap to an Effect Mask.
- Preserve motion-blurred and defocused CG coverage.
- Use regex to select groups that follow a production naming convention.
- Verify that Cryptomatte layers/metadata survived render and transcode steps.
- Read object/material Cryptomatte generated by Resolve 21 Renderer3D Hardware Renderer.
Article screenshots
Inputs & outputs
Cryptomatte: EXR image + metadata in → selected image representation out
Cryptomatte has one orange 2D image input and one image output. It reads embedded Cryptomatte layers/metadata from a compatible EXR, builds an ID selection and displays Beauty/Colors/Edges/Matte. It does not create a separate blue mask port.
Cryptomatte reads object and material IDs stored in the EXR. Choose View Layer, build the selection with Pick/Add/Remove or Expression and check View Mode. For masking, select the image channel on the receiving node or extract and process the matte through Bitmap.
Inputs
- Input
Single 2D image source carrying Cryptomatte metadata
Receives: An orange 2D image stream from Loader/a compatible EXR or a Renderer3D output that preserves object/material Cryptomatte layers and metadata. Beauty RGBA alone is insufficient.
Inside the node: The node reads the embedded Cryptomatte namespace/manifest, lets the user select entries and calculates the chosen image representation with renderer-authored coverage.
Typical sources: Loader · Renderer3D
Cryptomatte is not AI segmentation and cannot reconstruct layers stripped by a transcode. Resolve 21 Renderer3D Cryptomatte generation belongs to the upstream hardware-renderer workflow.
Outputs and destination
Output
One 2D image stream in Beauty, Colors, Edges or Matte mode. View Mode and Matte Layers change representation/scope, not the port datatype.
Next step: Bitmap · Color Corrector · MediaOut · another 2D processor
An ordinary Effect Mask accepts an image: select the desired channel in the receiver. Bitmap is useful for separate processing, not a mandatory type conversion.
- Output
- One 2D image representing Beauty, Colors, Edges or Matte according to View Mode and the selection. A standard Effect Mask can read the intended channel directly. Bitmap allows explicit channel extraction and separate matte processing.
Processing order
- Input receives the original 2D image/EXR stream with Cryptomatte layers and metadata preserved.
- View Layer selects a source namespace such as Object or Material.
- View Mode chooses Colors, Edges, Beauty or Matte while the port datatype remains image.
- Pick maps a Viewer location to a stored Cryptomatte entry; Add/Remove change selection membership.
- Selected Matte List records the actual selection; Clear, Clear All and Clear Selected Layer have different scopes.
- In Resolve 20.1+, Expression can select named entries in bulk using a regular expression.
- Matte Layers Selected/View/All changes inspection/selection scope without changing topology.
- Output remains a normal 2D image stream; Matte can feed Bitmap.Image so Bitmap.Mask becomes a real mask stream.
- Output to Alpha remains an alpha workflow inside the image output and should be verified for RGB/alpha behavior on the target build.
Beauty grade through a separate Cryptomatte mask branch
Loader.Output → ColorCorrector.Input · Loader.Output → Cryptomatte.Input · Cryptomatte.Output (Matte) → Bitmap.Image · Bitmap.Mask → ColorCorrector.EffectMask · ColorCorrector.Output → MediaOut
This example uses Bitmap to extract the channel explicitly. An ordinary Effect Mask also supports direct image input with channel selection in the receiver.
Use Merge for compositing. For local processing choose Alpha or Luminance in Effect Mask; Bitmap remains an explicit alternative.
Parameters
Cryptomatte · Inspector reference
Choose the EXR layer and View Mode, then build the selection with Pick/Add/Remove or Expression and check Matte Layers. Cryptomatte reads IDs stored at render time; its image can drive a mask by selecting the channel on the receiver or processing it through Bitmap.
- Source
- EXR + metadata
- Layer
- Object / Material
- Inspect
- Colors / Edges / Beauty / Matte
- Select
- Pick · Add · Remove
- Audit
- Selected Matte List
- Batch
- Expression regex
- Scope
- Selected / View / All
- Output
- Image → Bitmap mask when needed
View Layer · Object / Material namespace
Choose the namespace actually written by the source renderer; a missing layer is an upstream problem.
- View Layer
View Layer > View LayerSelects the Cryptomatte layer/matte type used for viewing and selection. The source may expose Object, Material or other namespaces depending on the renderer. Resolve 20 documentation called this Layer; current documentation uses View Layer.
Check / distinguish: If the expected layer is missing, diagnose source metadata before Pick.
- Studio-only native reader
AvailabilityNative Cryptomatte is documented as Studio-only.
Check / distinguish: Verify the edition before diagnosing the source.
- Input must carry metadata
Input > EXRBeauty RGB is insufficient: Cryptomatte layers/manifest metadata are required.
Check / distinguish: A/B the original EXR and a beauty-only copy.
- View Layer is namespace
View LayerView Layer selects an Object/Material namespace rather than an RGBA channel.
Check / distinguish: Compare Object and Material at the same pixel.
- Missing layer is upstream
View Layer > diagnosticsA missing layer usually means a render/AOV/metadata/transcode problem.
Check / distinguish: Return to the source before tuning Pick.
- Renderer3D 21 boundary
Renderer3D > HardwareResolve 21 generates object/material Cryptomatte through Hardware Renderer.
Check / distinguish: Verify the upstream hardware path.
- Scripting IDs are live boundary
Automation > .setting/.compDisplay labels and serialized IDs can differ.
Check / distinguish: Export a minimal .setting on the target build.
- Image into Effect Mask
Image into Effect MaskAn ordinary Effect Mask can receive an image directly. Select Channel in the receiver’s Settings; Bitmap is useful when separate thresholds and matte processing are required. This does not define the contract of special Garbage/Pre Matte inputs.
Check / distinguish: Compare direct input with Bitmap using the same channel.
View · View Mode · Output to Alpha
Colors/Edges/Beauty/Matte are diagnostic image representations; Output to Alpha does not create a mask port.
- View Mode
View > View ModeSwitches among Colors, Edges, Beauty and Matte. Colors visualizes IDs; Edges shows source plus boundary diagnostics; Beauty shows source; Matte shows selected coverage.
Check / distinguish: Pick in Beauty/Colors, then verify quality in Matte and on the beauty composite.
- Output to Alpha
View > Output to AlphaRoutes the selected Cryptomatte to output alpha. This remains an alpha workflow inside an image stream rather than creating a separate mask port. Verify exact RGB behavior live.
Check / distinguish: An ordinary Effect Mask can read image alpha directly. Use Bitmap for separate channel, threshold or matte processing.
- Colors are IDs
View Mode > ColorsColors are technical ID colors, not beauty.
Check / distinguish: Compare against Beauty.
- Edges is diagnostic
View Mode > EdgesEdges is a boundary diagnostic, not an EdgeDetect mask.
Check / distinguish: A standard Effect Mask can read a selected image channel directly. Check Channel on the receiving node; Bitmap is useful for separate matte extraction and processing.
- Beauty is context
View Mode > BeautyBeauty helps locate the subject but does not show matte quality.
Check / distinguish: Toggle Beauty ↔ Matte.
- Matte keeps fractional coverage
View Mode > MatteGray edges can be valid AA/blur/DOF values.
Check / distinguish: Check the edge on a real composite.
- Output remains image
Flow > OutputView Mode does not change the output image datatype.
Check / distinguish: Use CRYPTO.Output → Bitmap.Image → Bitmap.Mask.
- Output to Alpha is not mask socket
Output to AlphaThe checkbox changes alpha workflow but does not create a blue connector.
Check / distinguish: Compare topology off/on.
- RGB behavior is live boundary
Output to Alpha > RGBThe checkbox label does not prove exact RGB behavior.
Check / distinguish: A/B RGBA channels on the target build.
- Transcode smoke test
Pipeline > EXR integrityAfter conversion repeat Layer → Colors → Pick → Matte.
Check / distinguish: Compare original and converted EXRs.
- Temporal QC
Matte > playbackCoverage changes with motion blur/DOF and requires playback QC.
Check / distinguish: Inspect worst-case frames.
- Do not threshold by habit
Matte > edge treatmentHard clipping destroys fractional coverage.
Check / distinguish: A/B original and thresholded mattes.
Select Matte · Pick · Add · Remove
Pick finds a stored entry; Add/Remove change selection membership.
- Select Matte / Pick
Select Matte > Select Matte / PickSelects object/material entries through the list or Viewer picking. Pick maps a Viewer location to a Cryptomatte ID/name and supports the documented eyedropper workflow.
Check / distinguish: Confirm complex picks in Selected Matte List.
- Mode — Add
Select Matte > Mode — AddAdds the picked entry to the current selection. Builds one matte from multiple objects or materials.
Check / distinguish: Add incrementally and inspect the list.
- Mode — Remove
Select Matte > Mode — RemoveExcludes the picked entry from the current selection. Remove is not a global matte invert.
Check / distinguish: If you removed the wrong entry, add that specific entry back.
- Pick selects stored entry
Select Matte > PickPick reads a stored Cryptomatte entry; it does not semantically detect an object.
Check / distinguish: Click and inspect the name in the list.
- Eyedropper workflow
Select Matte > PickA Viewer drag/eyedropper workflow is documented; verify the gesture on the target UI.
Check / distinguish: Confirm the gesture before training/automation.
- Add is membership union
Mode > AddAdd includes another entry in the selection.
Check / distinguish: Add two objects and inspect the list.
- Remove is targeted exclusion
Mode > RemoveRemove excludes an entry rather than inverting the matte.
Check / distinguish: Remove one of two selected objects.
- Multiple pick needs audit
Pick > listWith multiple picks, the list is more reliable than visual highlighting.
Check / distinguish: Verify expected entries.
Selected Matte List · List and clearing
The list is the selection audit trail; Clear, Clear All and Clear Selected Layer have different scopes.
- Selected Matte List
Selected Matte List > Selected Matte ListLists entries currently included in the selection. This is the audit trail for Pick/Add/Remove and selected items are highlighted in the Viewer.
Check / distinguish: Check naming before handing the comp to another artist.
- Clear
Selected Matte List > ClearRemoves selected matte entries. Its scope differs from Clear All and Clear Selected Layer.
Check / distinguish: Verify which list entries are selected first.
- Clear All
Selected Matte List > Clear AllEmpties the complete Selected Matte List. It does not remove Cryptomatte data from the source EXR.
Check / distinguish: Use it when intentionally starting a new selection.
- Clear Selected Layer
Selected Matte List > Clear Selected LayerRemoves all selected mattes belonging to the current Cryptomatte layer. This is layer-level clearing, not deletion of one current list row.
Check / distinguish: Check View Layer before using it.
- List is handoff contract
Selected Matte ListMeaningful renderer names make handoff readable.
Check / distinguish: Check whether the selection is understandable from the list.
- Clear is local
Selected Matte List > ClearClear removes selected entries while keeping the rest.
Check / distinguish: Remove one row from several.
- Clear All is global
Selected Matte List > Clear AllClear All clears the selection, not the source data.
Check / distinguish: After Clear All, Pick the same object again.
- Clear Selected Layer is layer scope
Clear Selected LayerThe command clears mattes from the current layer.
Check / distinguish: Check View Layer before clearing.
- Viewer highlight is locator
Selected Matte List > highlightThe selected entry is used as a visual locator in the Viewer.
Check / distinguish: Switch rows and compare highlighting.
Expression · Regex selection
Resolve 20.1+ Expression performs regex selection over named entries rather than raw-ID entry.
- Expression
Expression > ExpressionRegular-expression selection over named Cryptomatte entries. Regex selection was added in Resolve 20.1 and is useful with production naming conventions.
Check / distinguish: Start with a narrow pattern and verify the selected list.
- Expression is regex
ExpressionResolve 20.1 added regular-expression based selection.
Check / distinguish: Test ^prefix_.* and inspect matches.
- Regex depends on naming
Expression > namingPoor naming makes regex fragile.
Check / distinguish: Fix the naming convention upstream.
- Start narrow
Expression > testA broad pattern can select off-screen entries.
Check / distinguish: Start with a narrow prefix and play the shot.
- Regex is not alpha math
Expression > semanticsExpression changes selection membership, not alpha math.
Check / distinguish: Verify list membership plus Matte coverage.
Matte Layers · Selected · View · All
Scope controls inspection/selection breadth without changing Output datatype.
- Matte Layers — Selected
Matte Layers > Matte Layers — SelectedLimits scope to selected mattes for inspection/selection. Reduces noise from the complete manifest.
Check / distinguish: Useful for final selection QC.
- Matte Layers — View
Matte Layers > Matte Layers — ViewUses the scope of the current View Layer. Helps keep Object and Material namespaces separate.
Check / distinguish: If results are empty, verify View Layer and scope together.
- Matte Layers — All
Matte Layers > Matte Layers — AllExpands scope across available Cryptomatte layers. Useful for discovery and source diagnostics.
Check / distinguish: Return to a narrower scope after discovery.
- Selected for QC
Matte Layers > SelectedSelected reduces diagnostic noise to the current selection.
Check / distinguish: Use it after Add/regex.
- View follows layer
Matte Layers > ViewView ties scope to the current View Layer.
Check / distinguish: Switch Object ↔ Material.
- All for discovery
Matte Layers > AllAll is useful for discovery but increases broad-selection risk.
Check / distinguish: Return to Selected/View after discovery.
- Scope does not change datatype
Matte Layers > OutputSelected/View/All do not change Output=image.
Check / distinguish: Verify the Bitmap boundary separately.
Before adjusting the node
- Start with the original multilayer EXR: a beauty-only transcode can look correct while losing Cryptomatte metadata.
- Verify View Layer before Pick; Object and Material are separate namespaces.
- Colors confirms ID regions, Beauty provides context, Edges diagnoses boundaries, and Matte checks coverage.
- After Pick/Add/Remove inspect Selected Matte List, not just Viewer highlighting.
- Gray Matte edges under AA/motion blur/DOF can be correct fractional coverage.
- Clear Selected Layer clears mattes from the selected layer rather than one list row.
- Test Expression as a regex against real names from the manifest.
- A standard Effect Mask can read a selected image channel directly. Check Channel on the receiving node; Bitmap is useful for separate matte extraction and processing.
- Verify Output to Alpha behavior and serialized IDs live on the target build.
- For a Resolve 21 Renderer3D source verify Hardware Renderer and upstream Cryptomatte generation.
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
Object selection: Colors → Pick → Matte
Separate source/layer diagnostics from selection and verify that the chosen ID produces valid coverage.
Starting conditions
DaVinci Resolve Studio 20.1+ / 21 article authoring; native Cryptomatte controls are anchored to Blackmagic documentation and bundled Resolve captures · DaVinci Resolve Studio / Fusion · Cross-platform reference; target-workstation live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion 2D image workflow: Cryptomatte reads embedded EXR layers and metadata and outputs an image. Bitmap provides separate matte extraction and processing; a standard Effect Mask can also read the selected image channel directly.
- Loader
- Cryptomatte
- BitmapMask
- ColorCorrector
- MediaOut
Source material
- SRC
A multilayer EXR with a valid Object Cryptomatte layer and meaningful object names.
Any EXR whose Cryptomatte data is confirmed in the source renderer/DCC.
Nodes and connections
SRC— ORIGINAL EXR · LoaderCRYPTO— CRYPTOMATTE · CryptomatteOUT— MEDIA OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
ORIGINAL EXR (SRC)Output | CRYPTOMATTE (CRYPTO)Input | image |
CRYPTOMATTE (CRYPTO)Output | MEDIA OUT (OUT)Input | image |
Graph output: MEDIA OUT (OUT)
Parameter values
- CRYPTOMATTE (CRYPTO) / Controls / View Layer
"Object"Inspect the object-level Cryptomatte namespace first.
- CRYPTOMATTE (CRYPTO) / Controls / View Mode
"Colors"Verify that the EXR exposes stable ID regions before selecting.
- CRYPTOMATTE (CRYPTO) / Controls / Mode
"Add"Add the picked entry to the selected matte list.
- CRYPTOMATTE (CRYPTO) / Controls / View Mode
"Matte"Inspect the resulting coverage rather than trusting the pick alone.
Reproduce the example
- Connect the original EXR, select the Object View Layer and start in Colors.
Colors confirms readable ID regions before any selection.
Check: The scene is partitioned into stable technical colors and the View Layer exists.
- Use Add and Pick the target object, then inspect Selected Matte List.
The list confirms which entry actually entered the selection.
Check: The expected object is in the list; the decision is not based only on Viewer highlighting.
- Switch to Matte and inspect an edge with motion blur or depth of field.
Fractional coverage is a key Cryptomatte benefit and cannot be judged in Colors.
Check: White coverage matches the object and gray edges follow real coverage without random holes.
Expected result
- MEDIA OUT (OUT) · frame 72
The object entry is selected, the list is verified, and Matte preserves fractional coverage as an image through MediaOut.
Alpha: Output to Alpha is not required here: the point is that View Mode = Matte is still an image output rather than a separate mask socket.
When the result differs
- Colors looks like normal beauty or Pick adds nothing.
Cause: The EXR lost Cryptomatte layers/metadata or the selected View Layer is not present.
Correction: Return to the original multilayer EXR and verify renderer settings/manifest before tuning the node.
References
- Blackmagic Design — DaVinci Resolve 20 New Features Guide: Native Cryptomatte
Fusion > Support for Native Cryptomatte workflows (Studio Version Only): EXR embedded mattes/metadata, Layer, Pick, Add/Remove Mode, View Modes, Selected Matte List and clear controls.
- Blackmagic Design — DaVinci Resolve 20.1 New Features Guide: Cryptomatte expressions
Fusion Cryptomatte update: Expression box for regular-expression based selection of Cryptomatte entries.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion Flow, Color Corrector, Bitmap/mask and MediaOut fundamentals used by the practice graphs.
- Blackmagic Design — current Fusion documentation: Loader
Loader/image source role for original multilayer EXR assets.
Cryptomatte image → Bitmap mask → selective grade
Demonstrate the correct data-type boundary: beauty stays an image branch and Cryptomatte Matte is explicitly extracted by Bitmap in this example; an ordinary Effect Mask also accepts a direct image input.
Starting conditions
DaVinci Resolve Studio 20.1+ / 21 article authoring; native Cryptomatte controls are anchored to Blackmagic documentation and bundled Resolve captures · DaVinci Resolve Studio / Fusion · Cross-platform reference; target-workstation live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion 2D image workflow: Cryptomatte reads embedded EXR layers and metadata and outputs an image. Bitmap provides separate matte extraction and processing; a standard Effect Mask can also read the selected image channel directly.
- Loader
- Cryptomatte
- BitmapMask
- ColorCorrector
- MediaOut
Source material
- SRC
An EXR carrying object/material Cryptomatte plus beauty RGB.
Any compatible multilayer EXR.
Nodes and connections
SRC— ORIGINAL EXR · LoaderCRYPTO— MATTE IMAGE · CryptomatteBITMAP— BITMAP MASK · BitmapMaskGRADE— SELECTIVE GRADE · ColorCorrectorOUT— MEDIA OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
ORIGINAL EXR (SRC)Output | MATTE IMAGE (CRYPTO)Input | image |
ORIGINAL EXR (SRC)Output | SELECTIVE GRADE (GRADE)Input | image |
MATTE IMAGE (CRYPTO)Output | BITMAP MASK (BITMAP)Image | image |
BITMAP MASK (BITMAP)Mask | SELECTIVE GRADE (GRADE)EffectMask | mask |
SELECTIVE GRADE (GRADE)Output | MEDIA OUT (OUT)Input | image |
Graph output: MEDIA OUT (OUT)
Parameter values
- MATTE IMAGE (CRYPTO) / Controls / View Mode
"Matte"Expose the selected coverage as an image for explicit mask conversion.
- MATTE IMAGE (CRYPTO) / Controls / Output to Alpha
falseKeep this exercise focused on explicit image-to-mask conversion.
- BITMAP MASK (BITMAP) / Controls / Channel
"Luminance"Interpret the black/white Matte image as a mask source.
- SELECTIVE GRADE (GRADE) / Controls / Gain
1.15Make the selection effect visible without changing the mask topology.
Reproduce the example
- Split Loader: send beauty directly to ColorCorrector.Input and a second branch to Cryptomatte.
Beauty and matte have different roles and should not replace each other.
Check: Before the mask is connected, ColorCorrector receives the original beauty image.
- Set Cryptomatte to Matte, feed Output to Bitmap.Image, then Bitmap.Mask to ColorCorrector.EffectMask.
This connects image and mask domains without assuming Cryptomatte output is a mask.
Check: CRYPTO→BITMAP is an image connection and BITMAP→GRADE is a mask connection.
- Apply a moderate correction and compare selected versus unselected areas on beauty.
The final matte test is not a black-and-white Viewer but correct spatial isolation of a real effect.
Check: Gain changes only inside the Cryptomatte selection and soft edges do not acquire a hard halo.
Expected result
- MEDIA OUT (OUT) · frame 72
Beauty remains in the image branch, Cryptomatte Matte is converted by Bitmap into a real mask stream, and ColorCorrector is isolated correctly.
Alpha: Alpha is not used as a hidden shortcut: the mask explicitly exists as Bitmap.Mask, so the data-type contract is visible in the graph.
When the result differs
- The correction affects the whole frame or the inverse area.
Cause: Bitmap is reading the wrong channel/is inverted, or the Cryptomatte selection is empty.
Correction: View CRYPTO Matte and BITMAP Mask separately, then correct Channel/Invert or the selection.
References
- Blackmagic Design — DaVinci Resolve 20 New Features Guide: Native Cryptomatte
Fusion > Support for Native Cryptomatte workflows (Studio Version Only): EXR embedded mattes/metadata, Layer, Pick, Add/Remove Mode, View Modes, Selected Matte List and clear controls.
- Blackmagic Design — DaVinci Resolve 20.1 New Features Guide: Cryptomatte expressions
Fusion Cryptomatte update: Expression box for regular-expression based selection of Cryptomatte entries.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion Flow, Color Corrector, Bitmap/mask and MediaOut fundamentals used by the practice graphs.
- Blackmagic Design — current Fusion documentation: Loader
Loader/image source role for original multilayer EXR assets.
Regex selection and Object/Material scope
Use Expression as a regular expression, keep namespaces separate, and verify Selected/View/All scope behavior.
Starting conditions
DaVinci Resolve Studio 20.1+ / 21 article authoring; native Cryptomatte controls are anchored to Blackmagic documentation and bundled Resolve captures · DaVinci Resolve Studio / Fusion · Cross-platform reference; target-workstation live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion 2D image workflow: Cryptomatte reads embedded EXR layers and metadata and outputs an image. Bitmap provides separate matte extraction and processing; a standard Effect Mask can also read the selected image channel directly.
- Loader
- Cryptomatte
- BitmapMask
- ColorCorrector
- MediaOut
Source material
- SRC
An EXR with meaningful names such as crowd_hero_01, crowd_bg_02 and glass_front.
Any Cryptomatte EXR with a stable naming convention.
Nodes and connections
SRC— NAMED EXR · LoaderCRYPTO— REGEX SELECT · CryptomatteOUT— MEDIA OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
NAMED EXR (SRC)Output | REGEX SELECT (CRYPTO)Input | image |
REGEX SELECT (CRYPTO)Output | MEDIA OUT (OUT)Input | image |
Graph output: MEDIA OUT (OUT)
Parameter values
- REGEX SELECT (CRYPTO) / Controls / View Layer
"Object"Keep regex evaluation in the object namespace for this test.
- REGEX SELECT (CRYPTO) / Controls / Expression
"^crowd_.*"Select a controlled name family using the Resolve 20.1+ regular-expression workflow.
- REGEX SELECT (CRYPTO) / Controls / Matte Layers
"All"Discover all matching entries before narrowing the scope.
- REGEX SELECT (CRYPTO) / Controls / Matte Layers
"Selected"QC only the resulting selected entries after discovery.
- REGEX SELECT (CRYPTO) / Controls / View Mode
"Matte"Inspect the aggregate coverage generated by the expression.
Reproduce the example
- Choose the Object View Layer and Matte Layers = All; inspect available names before entering Expression.
Regex is safer when built from the real manifest rather than a guessed namespace.
Check: Names belong to the object namespace rather than material names.
- Enter ^crowd_.* and inspect which entries enter the selection.
Expression is regex selection; a broad pattern can include more objects than are visible in the current frame.
Check: Only names with the intended prefix are selected; unrelated entries are absent.
- Switch Matte Layers to Selected and View Mode to Matte, then play the range.
Selected scope reduces diagnostic noise, while playback reveals objects that appear only on other frames.
Check: The aggregate matte follows the whole naming group over time without leaking into the material namespace.
Expected result
- MEDIA OUT (OUT) · frame 72
The regular expression selects a predictable object group, Selected scope isolates the result, and Matte confirms aggregate coverage over time.
Alpha: Expression controls selection membership rather than alpha arithmetic; output remains an image until an explicit alpha/mask workflow is chosen.
When the result differs
- The regular expression selects too much or nothing.
Cause: The pattern is too broad/narrow or View Layer points to a different namespace.
Correction: Switch to All, re-check actual names, and test a narrower prefix incrementally.
References
- Blackmagic Design — DaVinci Resolve 20 New Features Guide: Native Cryptomatte
Fusion > Support for Native Cryptomatte workflows (Studio Version Only): EXR embedded mattes/metadata, Layer, Pick, Add/Remove Mode, View Modes, Selected Matte List and clear controls.
- Blackmagic Design — DaVinci Resolve 20.1 New Features Guide: Cryptomatte expressions
Fusion Cryptomatte update: Expression box for regular-expression based selection of Cryptomatte entries.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion Flow, Color Corrector, Bitmap/mask and MediaOut fundamentals used by the practice graphs.
- Blackmagic Design — current Fusion documentation: Loader
Loader/image source role for original multilayer EXR assets.
Other outlines from the article
Object grade through a real mask stream
Beauty feeds ColorCorrector while Cryptomatte Matte is converted through Bitmap to Effect Mask.
- Loader EXR
- Cryptomatte · Matte
- Bitmap
- ColorCorrector · Effect Mask
- MediaOut
Compound object matte
Multiple object IDs are added with Mode Add and verified in Matte.
- EXR
- Cryptomatte · Object
- Add IDs
- Matte QC
Material isolation
View Layer switches to the material namespace before picking a material.
- EXR
- Cryptomatte · Material
- Pick / Expression
- Bitmap
- Effect Mask
Regex group
Expression selects a naming family instead of a long sequence of manual picks.
- EXR
- Cryptomatte
- Expression regex
- Selected Matte List
- Matte
Resolve 21 Renderer3D pipeline
Hardware Renderer generates object/material Cryptomatte layers and metadata that the Cryptomatte node reads.
- 3D Scene
- Renderer3D · Hardware + Cryptomatte
- Cryptomatte
- Bitmap / Alpha workflow
Source integrity QC
Colors/All/List checks whether a transcode destroyed technical data.
- Original EXR
- Cryptomatte · Colors
- Layer/List QC
- Beauty
Mistakes
- Connecting ordinary PNG/JPEG/video and expecting object recognition.
- Assuming every EXR contains Cryptomatte layers and metadata.
- Using a transcode that preserves beauty but strips the manifest or auxiliary data.
- Treating the orange image Input as a mask input.
- Treating Output as a blue mask stream merely because View Mode is Matte.
- Using the Matte image as coverage without checking whether the receiving Effect Mask reads the intended Alpha or Luminance channel.
- Using technical Colors as artistic image data.
- Describing Edges as a normal edge-detection effect.
- Never validating the selection in Matte.
- Clipping correct antialiased/motion-blurred/defocused coverage to hard 0/1 edges.
- Using Add/Remove without inspecting Selected Matte List.
- Treating Clear, Clear All and Clear Selected Layer as the same command.
- Describing Clear Selected Layer as deleting one list row.
- Using Expression as a raw hash/ID field rather than regex selection.
- Running a broad regex without inspecting the resulting list.
- Mixing Object and Material selections without controlling View Layer/scope.
- Assuming exact RGB behavior for Output to Alpha without a target-build test.
- Expecting the reader to create missing layers from an incorrect renderer path.
- Blaming Fusion for opaque naming that originated upstream.
- Accidentally delivering Matte or Colors as final beauty.
Tips
- Keep the original multilayer EXR beside any proxy.
- Debug in the order View Layer → Colors → Pick → Matte.
- Keep Beauty and Matte in two Viewers while checking edges.
- Use Bitmap as an explicit image-to-mask boundary for Effect Mask workflows.
- Do not binarize the matte without a proven need.
- Inspect frames with maximum motion blur and depth of field rather than only a hero frame.
- Stable object/material names make both the list and regex reproducible.
- Start regex tests with a narrow naming prefix.
- If an object cannot be found, compare Matte Layers = All with the current View Layer.
- Document whether each selection belongs to Object or Material.
- Treat Output to Alpha as a separately verified workflow.
- For Resolve 21 self-rendered sources, verify Hardware Renderer first.
- After any EXR conversion, smoke-test layer → Colors → Pick → Matte.
- Keep a small test EXR with known names for regression tests.
- Before scripting, export a .setting/.comp and verify internal IDs.
Workflow order
- Use the original EXR without a transcode that may have stripped auxiliary layers or metadata.
- Connect the source to the orange Cryptomatte Input and view Output.
- Verify the intended View Layer such as Object or Material.
- Use Beauty to confirm the expected source image.
- Use Colors to confirm stable Cryptomatte ID regions.
- Pick the target object/material and verify Selected Matte List.
- Use Add for a compound selection and Remove for targeted exclusions.
- Use Expression regex instead of many manual picks when naming is stable.
- Track View Layer and Matte Layers scope so Object and Material namespaces are not mixed.
- Switch to Matte and inspect antialiasing, motion blur, depth of field and transparency coverage.
- Do not clip gray edges automatically; first compare the matte against beauty in a real composite.
- For an alpha workflow, enable Output to Alpha and verify target-build behavior.
- For a blue Effect Mask, feed Matte image into Bitmap and Bitmap.Mask into Effect Mask.
- For a grade, keep original beauty on the main branch and use Cryptomatte as a separate selection branch.
- Play frames with maximum blur/defocus and check temporal coverage.
- For Resolve 21 Renderer3D sources, verify Hardware Renderer and Cryptomatte generation upstream.
