FUSION · FULL ARTICLE
Fog
Creates atmospheric 2D haze based on an incoming auxiliary Z-buffer, with optional Blur Image pattern and Effect Mask.
Overview
Fog is a 2D Deep Pixel post-processing node for rendered images that contain a Z-buffer. It colors atmospheric haze according to depth, not a volumetric object inside a classic Fusion scene3d graph.
The Resolve 21 reference specifies three inputs: required orange Input (image with Z), optional green Blur Image (2D source of fog variation), and optional blue Effect Mask (mask data). The original site article listed only two ports and therefore omitted a major feature.
A useful Z channel normally comes from Renderer3D with Z Depth output enabled or from an EXR whose depth channels were correctly mapped into the Fusion auxiliary Z buffer. A valid 2D wire alone does not prove that the required per-pixel depth data exists.
Z Near Plane marks where fog thins out to nothing; Z Far Plane marks the distance where fog contribution becomes opaque. The archived Inspector shows Near 0.0 and Far -500.0. These are example values, not universal meter readings or a promise that every external EXR uses negative far depth.
The Sample buttons under Near/Far take numeric Z values from points in the Viewer. Pick stable geometry, not transparent borders or empty backdrops. The Fog Color eyedropper selects color instead; it is not a depth sampler.
Z Scale expands or contracts values in the depth channel, allowing adjustment to a different upstream scale. It cannot invent a missing Z pass or fix an incorrectly imported depth channel.
With no green Blur Image connected, Fog is a uniform base tint modulated by depth. Attach FastNoise or another 2D image to Blur Image to supply spatially varying fog pattern. This auxiliary image is not a 3D smoke density field.
Fog Color chooses the RGBA haze tint. Red, Green and Blue set the color balance, Alpha changes transparency of the chosen fog color, and Fog Opacity scales the overall fog contribution across channels. Evaluate alpha and opacity separately in a transparent image pipeline.
The optional blue Effect Mask limits the processed image region after the fog operation. Rectangle.Mask must connect to Fog.EffectMask, not to the green Blur Image port, which expects image data.
After Fog, a ColorCorrector and MediaOut can finish the composite. To keep titles crisp and unaffected by scene depth, place Text+ into a downstream Merge.Foreground instead of running pre-composited UI through the depth effect.
Fog is not Fog3D. Fog3D has a required scene3d input and outputs scene3d to Renderer3D; ordinary Fog receives and outputs a 2D image after the render boundary. Connecting 3D scene output directly to Fog is a type error.
Typed tutorial graphs can check the declared image/mask/scene3d connectors and topology, but not verify that Z exists in the pixels, EXR mapping, alpha math or actual rendered appearance. Those checks remain pending in native DaVinci Resolve.
All four exercises use the specified procedural scene without an external EXR: planes at Z=0 and Z=−4, camera at Z=5, RGBA+Z from Software Renderer. Reference camera-space Z values are −5 and −9; confirm them by sampling the surfaces. The title variant explicitly defines Styled Text, Size and Center.
When to use it
- Add Z-based atmosphere to a 3D render/EXR
- Fade distant scene elements into haze without 3D volumetrics
- Shape the fog pattern with a 2D FastNoise Blur Image
- Restrict the region via the optional Effect Mask
- Unify CG atmosphere with a live-action background
- Inspect suspect Near/Far and Z-channel data
- Composite titles downstream without depth fog
Article screenshots
Inputs & outputs
Fog · 3 inputs: Z-enabled Image, Blur Image, Effect Mask
Fog is a 2D Deep Pixel post-process after Renderer3D. The required image must contain Z. Green Blur Image supplies an optional fog pattern, and blue Effect Mask restricts coverage. Fog does not accept classic scene3d.
Uses Z-buffer to evaluate Near/Far falloff, mixes a fog tint/opacity into the picture and optionally applies a pattern image and effect mask.
Inputs
- Input
Required main image with Z-buffer
Receives: 2D RGBA with auxiliary Z from Renderer3D or a correctly mapped EXR.
Inside the node: Fog computes atmospheric contribution from per-pixel depth and Near/Far.
Typical sources: Renderer3D.Image (+Z Depth) · MediaIn.Output (EXR with Z)
An image edge cannot prove Z is enabled or correctly mapped.
- Blur Image
Green optional image carrying the fog source/pattern
Receives: 2D FastNoise output or any suitable fog source texture.
Inside the node: Adds spatially varied fog imagery instead of a uniform base color.
Typical sources: FastNoise.Output · MediaIn.Output (noise image)
Despite its name it is not a general source-image blur function, nor a mask or scene3d port.
- Effect Mask
Blue optional coverage mask
Receives: Mask from Rectangle, Ellipse, Polygon, etc.
Inside the node: Restricts fog coverage after processing.
Typical sources: RectangleMask.Mask · EllipseMask.Mask
Mask cannot be wired directly to either image socket; it is not a Z buffer.
Outputs and destination
Output
2D image with depth-based fog; RGB/Alpha details depend on source.
Next step: ColorCorrector.Input · Merge.Background · MediaOut.Input
Never feed as scene3d. Fog3D, not Fog, operates before Renderer3D.
- Output
- Processed 2D image with depth-based haze; it is not a classic scene3d output nor a separate Z pass.
Processing order
- Renderer3D with Z Depth enabled, or EXR with valid Z → Fog.Input (image).
- Sample Near/Far on real surfaces; leave Z Scale at 1 for baseline.
- Fog Color sets RGBA tint while Fog Opacity sets overall fog strength.
- FastNoise.Output → Fog.Blur Image (optional green image).
- Rectangle.Mask → Fog.EffectMask (optional blue mask).
- Fog.Output → ColorCorrector.Input or Merge.Background → MediaOut.
- Typed image/mask/scene3d edges do not prove Z presence or rendered pixel quality.
Textured fog after classic 3D render
Merge3D.Scene → Renderer3D.Scene; Renderer3D.Image (+Z) → Fog.Input; FastNoise.Output → Fog.Blur Image; Fog.Output → MediaOut
Depth comes from the required main image; FastNoise only supplies a fog pattern, not camera-space geometry.
Required image with auxiliary Z, optional green fog-pattern image and optional blue mask; validate pixels in real Resolve.
Parameters
Fog · 11 Inspector topics + 14 engineering checks
The original Inspector confirms 11 Controls topics. Three Flow input domains are documented in the Resolve 21 manual; actual Z data and pixel behavior require native testing.
- 01 · Z data
- Verify the actual Z buffer first.
- 02 · Range
- Pick Near/Far on actual surfaces.
- 03 · Color & mask
- Separate tint/strength from pattern and mask.
Controls › Z Planes / Pick / Scale · Depth range and sampling
Five controls define the Z response, not source-image RGB luminance.
- Z Near Plane
Controls › Z Planes / Pick / Scale > Z Near PlaneNear depth boundary where the fog contribution fades to zero. Fog evaluates the auxiliary Z-buffer, not RGB luminance. Near marks the depth plane at which fog thins out to nothing; nearer objects should remain readable. Its units and sign follow the incoming Z pass, not universal real-world meters. The captured value 0.0 is only an Inspector example and is not a recommended setting for every scene.
Check / distinguish: Use Near Sample on foreground geometry; temporarily raise Fog Opacity to inspect where fog begins.
- Sample for Z Near Plane
Controls › Z Planes / Pick / Scale > Sample for Z Near PlanePicks the near Z-buffer value from the Viewer. The Sample control next to Near reads the selected pixel’s Z auxiliary-channel value, not its visible RGB color. Blackmagic documents picking by dragging to a location in the viewed image. Choose a definite foreground surface rather than alpha-empty sky, a background without usable depth, or a pixel with an invalid Z value.
Check / distinguish: Inspect the resulting numeric Near after picking and confirm that Z is actually present.
- Z Far Plane
Controls › Z Planes / Pick / Scale > Z Far PlaneFar depth boundary where the fog becomes opaque. Far defines the other Z-range boundary, where the calculated fog contribution reaches its maximum. A narrow Near/Far span can create a sharp falloff, with overall strength still controlled by Fog Opacity and color. The source screenshot shows -500.0; negative depth can be normal in a Fusion convention, but external EXR files may use a different sign and unit scale.
Check / distinguish: Pick an actual distant surface; do not copy the archived -500 value without inspecting the pass.
- Sample for Z Far Plane
Controls › Z Planes / Pick / Scale > Sample for Z Far PlanePicks the far plane from the Z-buffer in the Viewer. The Far Sample operation transfers the clicked pixel’s auxiliary depth into the Far field; it is not a timeline keyframe picker or color sampler. Pixels near depth discontinuities, transparent edges or missing-Z backgrounds can be unsuitable. Choose a stable distant surface and inspect the original depth data if the result behaves unexpectedly.
Check / distinguish: Pick a clear distant wall or object, then A/B bypass Fog while judging the range.
- Z Scale
Controls › Z Planes / Pick / Scale > Z ScaleScales values in the incoming Z-buffer before evaluating fog. According to the manual, increasing Z Scale expands Z-channel distances while lowering it contracts them. It can adapt a different depth scale or exaggerate separation, but it cannot reconstruct a missing depth channel. Tune it only after inspecting Near/Far and the actual Z pass; otherwise a wrong scale may be hidden by arbitrary plane adjustments.
Check / distinguish: Compare Z Scale 0.5, 1 and 2 at constant Near, Far and Opacity on the same valid Z pass.
- Near vs Far sign
Z Near/Far › input channel conventionThe capture shows Near 0.0 and Far -500.0; this is a screenshot state, not a global rule that Far must always be negative. Z conventions vary.
Check / distinguish: Measure two Z samples before flipping or swapping signs.
- Sampling is depth, not RGB
Near/Far › SampleNear/Far Sample buttons pick numeric Z values, while the Fog Color picker chooses an RGB color. The operations are not interchangeable.
Check / distinguish: Record actual Near and Far numbers in shot notes.
- Scale cannot repair missing depth
Z Scale › auxiliary channelIncreasing Z Scale can expand depth separation but cannot repair missing Z, wrong EXR channel mapping or discontinuous depth data.
Check / distinguish: If nothing changes, fix the source before extreme Z Scale values.
- Depth discontinuities
Fog.Output › edgesAt transparent boundaries and composited layers, depth-based fog can reveal discontinuities; inspect the Z pass and pixels at 100% zoom.
Check / distinguish: Inspect a few neighboring pixels at a sharp depth discontinuity.
Controls › Fog Color / RGBA · Fog tint and alpha
RGBA fields set the fog tint, not Z depth or the mask.
- Fog Color
Controls › Fog Color / RGBA > Fog ColorBase RGBA tint used to create the atmospheric fog. Fog Color defines the atmospheric tint. Without the optional green Blur Image input, the fog uses a uniform base color whose strength varies with depth. An auxiliary image can provide a spatial fog pattern, commonly noise. Red/Green/Blue/Alpha are components of this color, not channel selectors for the source image. The color eyedropper is distinct from the depth Sample buttons.
Check / distinguish: Establish uniform fog first with Blur Image disconnected; introduce texture only after validating depth boundaries.
- Red
Controls › Fog Color / RGBA > RedRed component of Fog Color. Red adjusts the reddish contribution of depth haze. Similar RGB values yield a relatively neutral color, while a warm dusty atmosphere can use more red with green. It does not change Near/Far or repair a depth pass. Evaluate the tint through the actual working and display color-management pipeline.
Check / distinguish: Hold depth and opacity constant and observe the RGB Parade while changing only Red.
- Green
Controls › Fog Color / RGBA > GreenGreen component of Fog Color. Green participates in the color mixed into the image. More green plus blue pushes cyan; green with red produces warm yellowish dust. This is not a switch for the source image’s green channel or a mask; it controls the fog’s chosen color. Compare it against lighting and environment colors to avoid an unmotivated cast.
Check / distinguish: Keep Red/Blue fixed and A/B two Green values on the same valid-Z frame.
- Blue
Controls › Fog Color / RGBA > BlueBlue component of Fog Color. Blue influences the cool look of atmospheric perspective. A moderate blue bias may unify distant geometry with the sky, while excessive blue can look like an artificial overlay. The archived screenshot’s Blue 0.8 is just one captured state, not a universal preset. Compare distant and near surfaces together.
Check / distinguish: Inspect near/far color differences at the same Fog Opacity.
- Alpha
Controls › Fog Color / RGBA > AlphaAlpha component of the selected fog color. Alpha adjusts the transparency of Fog Color. It is neither the Effect Mask input nor the auxiliary Z channel. Overall compositing also depends on Fog Opacity and the source image alpha. Do not assume that source premultiplication or edge behavior remains unchanged without comparing RGB and Alpha Viewer output in the target Resolve version.
Check / distinguish: Keep Alpha at 1.0 for baseline, then compare 0.5 in RGB and Alpha viewers separately.
- Fog Color alpha vs opacity
Fog Color.Alpha ↔ Fog OpacityFog Color.Alpha changes the transparency of the chosen RGBA fog tint; Fog Opacity separately applies overall fog opacity. They are distinct controls.
Check / distinguish: Change one at a time and review the Alpha Viewer.
- Color management
Fog RGB › working spaceThe same numeric fog RGB can look different under different working gammas and display transforms; lock your CST/DRT path for meaningful comparisons.
Check / distinguish: Compare passes with the same color-management pipeline.
Controls › Fog Opacity · Overall opacity
Opacity governs strength; Z Scale changes interpreted depth distances.
- Fog Opacity
Controls › Fog Opacity > Fog OpacityGlobal opacity of the computed fog across channels. Fog Opacity controls overall strength across fog channels. Near/Far may be correctly set even when the effect is too subtle to see at low opacity. High values are useful for short depth diagnostics but can crush distant contrast. Unlike Z Scale, this slider alters the total fog contribution rather than scaling the depth values.
Check / distinguish: Test briefly at 1.0 to debug Near/Far; reduce to a shot-appropriate value and review contrast.
Guide › Connections · Connections and data types
Trace the input data, processing and compositing path.
- Z channel required
Input › Z auxiliary channelFog requires an actual Z auxiliary channel in a 2D image. RGB luminance or an ordinary grayscale image is not automatically that channel.
Check / distinguish: Inspect the Z pass and verify foreground/background variation.
- Renderer3D Z output
Renderer3D › output channels › ZEnable Z-Depth output in Renderer3D before feeding Fog; a valid image connector alone does not guarantee auxiliary depth data.
Check / distinguish: Confirm distinct depth values on two separate objects.
- EXR depth mapping
MediaIn › EXR channel metadataEXR only works when its depth data is present and mapped to the expected auxiliary Z channel; alternate channel naming must be audited first.
Check / distinguish: Verify Z mapping, missing pixels and invalid/infinite regions.
- No scene3d input
Renderer3D.Image → Fog.InputFog is a 2D post effect after Renderer3D; Fog3D processes scene3d before rendering. Do not wire Merge3D.Scene to Fog.Input.
Check / distinguish: The required Fog input must be image, not scene3d.
- Blur Image source
Fog.Blur Image (green image port)The optional green image input provides the fog source or pattern, often FastNoise. It is neither a volumetric 3D density field nor a mask input.
Check / distinguish: Disconnect the green input for uniform fog, then compare.
- Effect Mask
Fog.Effect Mask (blue mask port)The optional blue mask port accepts Rectangle/Ellipse mask data. The manual states the mask applies after processing and limits effect coverage; it does not generate new Z depth.
Check / distinguish: Confirm that the connector carries mask data, not an image.
Guide › Result checks · Result checks
Compare source and output, checking the relevant channels and multiple frames.
- Composite titles after Fog
Fog.Output → Merge.BackgroundIf titles must remain clean, composite Text+ after Fog instead of feeding a finished title composite through depth fog.
Check / distinguish: Put Text+ into downstream Merge.Foreground.
- Native pixel QA still pending
Resolve 21/21.1 viewer + renderTyped diagrams prove port/data-domain correctness only, not actual Z presence, EXR mapping, pixel/alpha mathematics or rendered visual parity.
Check / distinguish: Run a native Resolve A/B render before production acceptance.
Before adjusting the node
- Input needs a 2D image with Z, not scene3d.
- Renderer3D must output Z Depth.
- Green Blur Image accepts a 2D fog pattern.
- Blue Effect Mask takes mask, not image.
- Near/Far Sample reads Z, not RGB.
- The captured -500 is only an example.
- Fog Color.Alpha and Fog Opacity differ.
- Fog3D is a separate scene3d processor.
- Actual Z/render quality requires native Resolve QA.
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
Depth fog after Renderer3D: the correct 3D → 2D boundary
Build a typed Shape3D/Camera3D → Renderer3D with Z → Fog → MediaOut path without feeding scene3d directly into Fog.
Starting conditions
DaVinci Resolve 21 / Fusion · Deep Pixel Fog Resolve 21 manual, Fusion Fog node; original archived fog-controls.png; Flow port names normalized in teaching model · Fusion deep-pixel 2D node; check installed Resolve edition/version for exact Flow labels · Ubuntu / Windows / macOS; native Z-buffer/EXR mapping, Alpha and render tests pending
1920 × 1080 · 24 fps · 96 frames · 2D RGBA with auxiliary Z; type-safe image edges do not guarantee a usable Z channel
- Shape3D × 2, Camera3D, Merge3D, Renderer3D
- RGBA + Z Depth
- Fog, MediaOut
Nodes and connections
GEO— Near orange plane · Z = 0 · Shape3DFAR— Far blue plane · Z = −4 · Shape3DCAM— Camera · Z = 5 · Camera3DM3D— Two depth planes and camera · Merge3DREN— RGBA + Z Depth · Renderer3DFOG— Depth haze · FogOUT— Final 2D image · MediaOut
| Source | Destination | Data |
|---|---|---|
Near orange plane · Z = 0 (GEO)Scene | Two depth planes and camera (M3D)Scene1 | scene3d |
Far blue plane · Z = −4 (FAR)Scene | Two depth planes and camera (M3D)Scene2 | scene3d |
Camera · Z = 5 (CAM)Scene | Two depth planes and camera (M3D)Scene3 | scene3d |
Two depth planes and camera (M3D)Scene | RGBA + Z Depth (REN)Scene | scene3d |
Depth haze (FOG)Output | Final 2D image (OUT)Input | image |
RGBA + Z Depth (REN)Image | Depth haze (FOG)Input | image |
Graph output: Final 2D image (OUT)
Parameter values
- Near orange plane · Z = 0 (GEO) / Controls / Shape
"Plane"A flat surface has constant depth.
- Near orange plane · Z = 0 (GEO) / Controls / Size
2Both objects must remain separately visible.
- Near orange plane · Z = 0 (GEO) / Transform / Translation X/Y/Z
[-1.3,0,0]Place the near plane on the left.
- Near orange plane · Z = 0 (GEO) / Material / Diffuse Color RGBA
[0.9,0.25,0.1,1]Orange distinguishes the near plane from the blue far plane.
- Far blue plane · Z = −4 (FAR) / Controls / Shape
"Plane"The second plane provides a different Z level.
- Far blue plane · Z = −4 (FAR) / Controls / Size
3The larger far object remains easy to see.
- Far blue plane · Z = −4 (FAR) / Transform / Translation X/Y/Z
[1.8,0,-4]Place the far plane to the right and four scene units deeper.
- Far blue plane · Z = −4 (FAR) / Material / Diffuse Color RGBA
[0.1,0.4,0.9,1]Blue distinguishes the far plane from the near plane.
- Camera · Z = 5 (CAM) / Transform / Translation X/Y/Z
[0,0,5]The unrotated camera looks along negative Z.
- Camera · Z = 5 (CAM) / Transform / Rotation X/Y/Z
[0,0,0]Parallel planes produce simple reference depths.
- Camera · Z = 5 (CAM) / Controls / Focal Length
35Both planes fit in one reference frame.
- RGBA + Z Depth (REN) / Controls / Renderer Type
"Software Renderer"Fix the renderer for a repeatable Z pass.
- RGBA + Z Depth (REN) / Controls / Enable Lighting
falseFixed colors without scene lighting are sufficient for the fog test.
- RGBA + Z Depth (REN) / Controls / RGBA
trueRetain the geometry’s color and transparency.
- RGBA + Z Depth (REN) / Controls / Z
trueFog requires Z Depth; ordinary RGB is insufficient.
- Depth haze (FOG) / Controls / Z Near Plane
-5For this camera the near plane has camera-space Z = −5; confirm it with Z Sample.
- Depth haze (FOG) / Controls / Z Far Plane
-9The far plane has camera-space Z = −9; confirm it with a second Z Sample.
- Depth haze (FOG) / Controls / Z Scale
1Neutral baseline; adapt only after inspecting Z.
- Depth haze (FOG) / Controls / Fog Opacity
0.35Moderate trial value after establishing Z range.
Reproduce the example
- Build the two planes from the settings: near on the left, far on the right, camera at Z = 5. Enable RGBA and Z Depth in Renderer3D.
Every variant uses the same self-contained scene; no external EXR is required.
Check: At frame 48 both colored planes are visible. Compare Fog bypass/on and numeric surface Z; do not sample depth from the empty background.
- Use the specified scene with two planes and a camera. Check Renderer3D.Image → Fog.Input and enable Z Depth.
Renderer3D is the explicit boundary between scene3d and 2D image.
Check: Viewer Z Sample distinguishes −5 at the near plane and −9 at the far plane; if values differ, check the camera and transforms, then sample the actual Near/Far values.
- Enable Z Depth in Renderer3D output channels, then connect Renderer3D.Image → Fog.Input.
The 2D wire can be valid while Fog still requires numeric Z auxiliary data.
Check: Inspect Z Viewer: near and far surfaces must have different Z values.
- Pick Near/Far using Sample, keep Z Scale at 1 initially and raise Fog Opacity only to diagnose the range.
The capture's Far=-500 does not define this scene's depth convention.
Check: Foreground details should remain readable while distance hazes (native QA pending).
- Connect Fog.Output → MediaOut.Input and compare bypass/on at frames 0, 48 and 95.
A valid typed graph and a valid rendered Z pass are two different claims.
Check: Validator checks types only; check Z/alpha/pixels in native Resolve.
Expected result
- Final 2D image (OUT) · frame 48
Expect depth-based haze only after the 2D render boundary; verify appearance in Resolve.
Alpha: Z is not Alpha; inspect RGBA edges and the Z Viewer separately.
When the result differs
- Fog does not separate near and far objects.
Cause: Renderer3D output lacks Z Depth or Near/Far mismatch the Z range.
Correction: Enable Z, inspect the pass, and re-sample both planes.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Fusion 3D
Classic Fusion 3D geometry, lights, Merge3D and Renderer3D workflow used by article examples.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual, Fusion Deep Pixel Nodes / Fog [Fog]
Part 9 Fusion Page Effects > Ch.96 Deep Pixel Nodes > Fog: orange required 2D Input with Z; optional green Blur Image supplies fog source; optional blue Effect Mask applied after processing; near/far Pick, Z Depth Scale, fog RGBA and opacity. fog-controls.png confirms all 11 Controls topics. Exact Flow labels and native pixel/EXR mapping should be verified on target Resolve build.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
FastNoise fog variation through green Blur Image
Keep the required depth image distinct from the optional source-of-fog image, Z channel and mask.
Starting conditions
DaVinci Resolve 21 / Fusion · Deep Pixel Fog Resolve 21 manual, Fusion Fog node; original archived fog-controls.png; Flow port names normalized in teaching model · Fusion deep-pixel 2D node; check installed Resolve edition/version for exact Flow labels · Ubuntu / Windows / macOS; native Z-buffer/EXR mapping, Alpha and render tests pending
1920 × 1080 · 24 fps · 96 frames · 2D RGBA with auxiliary Z; type-safe image edges do not guarantee a usable Z channel
- Shape3D × 2, Camera3D, Merge3D, Renderer3D
- RGBA + Z Depth
- Fog, MediaOut
- FastNoise
Nodes and connections
GEO— Near orange plane · Z = 0 · Shape3DFAR— Far blue plane · Z = −4 · Shape3DCAM— Camera · Z = 5 · Camera3DM3D— Two depth planes and camera · Merge3DREN— RGBA + Z Depth · Renderer3DFN— Fog pattern / 2D image · FastNoiseFOG— Textured depth haze · FogOUT— Final image · MediaOut
| Source | Destination | Data |
|---|---|---|
Near orange plane · Z = 0 (GEO)Scene | Two depth planes and camera (M3D)Scene1 | scene3d |
Far blue plane · Z = −4 (FAR)Scene | Two depth planes and camera (M3D)Scene2 | scene3d |
Camera · Z = 5 (CAM)Scene | Two depth planes and camera (M3D)Scene3 | scene3d |
Two depth planes and camera (M3D)Scene | RGBA + Z Depth (REN)Scene | scene3d |
Fog pattern / 2D image (FN)Output | Textured depth haze (FOG)BlurImage | image |
Textured depth haze (FOG)Output | Final image (OUT)Input | image |
RGBA + Z Depth (REN)Image | Textured depth haze (FOG)Input | image |
Graph output: Final image (OUT)
Parameter values
- Near orange plane · Z = 0 (GEO) / Controls / Shape
"Plane"A flat surface has constant depth.
- Near orange plane · Z = 0 (GEO) / Controls / Size
2Both objects must remain separately visible.
- Near orange plane · Z = 0 (GEO) / Transform / Translation X/Y/Z
[-1.3,0,0]Place the near plane on the left.
- Near orange plane · Z = 0 (GEO) / Material / Diffuse Color RGBA
[0.9,0.25,0.1,1]Orange distinguishes the near plane from the blue far plane.
- Far blue plane · Z = −4 (FAR) / Controls / Shape
"Plane"The second plane provides a different Z level.
- Far blue plane · Z = −4 (FAR) / Controls / Size
3The larger far object remains easy to see.
- Far blue plane · Z = −4 (FAR) / Transform / Translation X/Y/Z
[1.8,0,-4]Place the far plane to the right and four scene units deeper.
- Far blue plane · Z = −4 (FAR) / Material / Diffuse Color RGBA
[0.1,0.4,0.9,1]Blue distinguishes the far plane from the near plane.
- Camera · Z = 5 (CAM) / Transform / Translation X/Y/Z
[0,0,5]The unrotated camera looks along negative Z.
- Camera · Z = 5 (CAM) / Transform / Rotation X/Y/Z
[0,0,0]Parallel planes produce simple reference depths.
- Camera · Z = 5 (CAM) / Controls / Focal Length
35Both planes fit in one reference frame.
- RGBA + Z Depth (REN) / Controls / Renderer Type
"Software Renderer"Fix the renderer for a repeatable Z pass.
- RGBA + Z Depth (REN) / Controls / Enable Lighting
falseFixed colors without scene lighting are sufficient for the fog test.
- RGBA + Z Depth (REN) / Controls / RGBA
trueRetain the geometry’s color and transparency.
- RGBA + Z Depth (REN) / Controls / Z
trueFog requires Z Depth; ordinary RGB is insufficient.
- Textured depth haze (FOG) / Controls / Z Near Plane
-5For this camera the near plane has camera-space Z = −5; confirm it with Z Sample.
- Textured depth haze (FOG) / Controls / Z Far Plane
-9The far plane has camera-space Z = −9; confirm it with a second Z Sample.
- Textured depth haze (FOG) / Controls / Z Scale
1Hold neutral while testing noise pattern.
- Textured depth haze (FOG) / Controls / Fog Opacity
0.45Compare same opacity with auxiliary texture disconnected.
Reproduce the example
- Build the two planes from the settings: near on the left, far on the right, camera at Z = 5. Enable RGBA and Z Depth in Renderer3D.
Every variant uses the same self-contained scene; no external EXR is required.
Check: At frame 48 both colored planes are visible. Compare Fog bypass/on and numeric surface Z; do not sample depth from the empty background.
- Use the specified scene with two planes and a camera. Check Renderer3D.Image → Fog.Input and enable Z Depth.
Depth is evaluated from the primary Input, not FastNoise.
Check: Viewer Z Sample distinguishes −5 at the near plane and −9 at the far plane; if values differ, check the camera and transforms, then sample the actual Near/Far values.
- With Blur Image disconnected, tune Near/Far and moderate Opacity for uniform fog.
This isolates the depth contribution from spatial pattern.
Check: Near/Far reflect this render, not copied screenshot values.
- Connect FastNoise.Output to Fog.BlurImage (green image), not EffectMask.
It supplies fog-source imagery, not a blue mask cable or a second Z pass.
Check: Both edges are image but have different roles; verify actual fog pattern in Resolve.
- Fog.Output → MediaOut; compare Blur Image connected versus disconnected on matching frames.
This isolates FastNoise variation while depth and density are held fixed.
Check: No pixel variation is claimed without a native render.
Expected result
- Final image (OUT) · frame 48
Expect depth-driven haze with a spatially varying pattern from the optional green 2D input.
Alpha: FastNoise should stay an image input; check alpha and mask data separately.
When the result differs
- Noise is not acting like fog, or no visible effect occurs.
Cause: Missing primary Z or noise wired into the wrong socket.
Correction: Verify render Z and green Fog.BlurImage, then A/B with the texture disconnected.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21 / Fusion Fast Noise [FN] Generator Reference
Fusion Page Effects > Generator Nodes > Fast Noise, p. 2416: optional Noise Detail Map (black=0 detail, white=configured detail), Noise Brightness Map (field control before Color, can replace noise with Detail=0), and Effect Mask. Noise/Color controls are cross-checked with the article captures; no native render is claimed.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual, Fusion Deep Pixel Nodes / Fog [Fog]
Part 9 Fusion Page Effects > Ch.96 Deep Pixel Nodes > Fog: orange required 2D Input with Z; optional green Blur Image supplies fog source; optional blue Effect Mask applied after processing; near/far Pick, Z Depth Scale, fog RGBA and opacity. fog-controls.png confirms all 11 Controls topics. Exact Flow labels and native pixel/EXR mapping should be verified on target Resolve build.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Fusion 3D
Classic Fusion 3D geometry, lights, Merge3D and Renderer3D workflow used by article examples.
Fog only through a window: direct Effect Mask
Connect the documented blue Fog mask without replacing image+Z or inventing connectors.
Starting conditions
DaVinci Resolve 21 / Fusion · Deep Pixel Fog Resolve 21 manual, Fusion Fog node; original archived fog-controls.png; Flow port names normalized in teaching model · Fusion deep-pixel 2D node; check installed Resolve edition/version for exact Flow labels · Ubuntu / Windows / macOS; native Z-buffer/EXR mapping, Alpha and render tests pending
1920 × 1080 · 24 fps · 96 frames · 2D RGBA with auxiliary Z; type-safe image edges do not guarantee a usable Z channel
- Shape3D × 2, Camera3D, Merge3D, Renderer3D
- RGBA + Z Depth
- Fog, MediaOut
Nodes and connections
GEO— Near orange plane · Z = 0 · Shape3DFAR— Far blue plane · Z = −4 · Shape3DCAM— Camera · Z = 5 · Camera3DM3D— Two depth planes and camera · Merge3DREN— RGBA + Z Depth · Renderer3DRECT— Window region · RectangleMaskFOG— Masked Z haze · FogOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Near orange plane · Z = 0 (GEO)Scene | Two depth planes and camera (M3D)Scene1 | scene3d |
Far blue plane · Z = −4 (FAR)Scene | Two depth planes and camera (M3D)Scene2 | scene3d |
Camera · Z = 5 (CAM)Scene | Two depth planes and camera (M3D)Scene3 | scene3d |
Two depth planes and camera (M3D)Scene | RGBA + Z Depth (REN)Scene | scene3d |
Window region (RECT)Mask | Masked Z haze (FOG)EffectMask | mask |
Masked Z haze (FOG)Output | Result (OUT)Input | image |
RGBA + Z Depth (REN)Image | Masked Z haze (FOG)Input | image |
Graph output: Result (OUT)
Parameter values
- Near orange plane · Z = 0 (GEO) / Controls / Shape
"Plane"A flat surface has constant depth.
- Near orange plane · Z = 0 (GEO) / Controls / Size
2Both objects must remain separately visible.
- Near orange plane · Z = 0 (GEO) / Transform / Translation X/Y/Z
[-1.3,0,0]Place the near plane on the left.
- Near orange plane · Z = 0 (GEO) / Material / Diffuse Color RGBA
[0.9,0.25,0.1,1]Orange distinguishes the near plane from the blue far plane.
- Far blue plane · Z = −4 (FAR) / Controls / Shape
"Plane"The second plane provides a different Z level.
- Far blue plane · Z = −4 (FAR) / Controls / Size
3The larger far object remains easy to see.
- Far blue plane · Z = −4 (FAR) / Transform / Translation X/Y/Z
[1.8,0,-4]Place the far plane to the right and four scene units deeper.
- Far blue plane · Z = −4 (FAR) / Material / Diffuse Color RGBA
[0.1,0.4,0.9,1]Blue distinguishes the far plane from the near plane.
- Camera · Z = 5 (CAM) / Transform / Translation X/Y/Z
[0,0,5]The unrotated camera looks along negative Z.
- Camera · Z = 5 (CAM) / Transform / Rotation X/Y/Z
[0,0,0]Parallel planes produce simple reference depths.
- Camera · Z = 5 (CAM) / Controls / Focal Length
35Both planes fit in one reference frame.
- RGBA + Z Depth (REN) / Controls / Renderer Type
"Software Renderer"Fix the renderer for a repeatable Z pass.
- RGBA + Z Depth (REN) / Controls / Enable Lighting
falseFixed colors without scene lighting are sufficient for the fog test.
- RGBA + Z Depth (REN) / Controls / RGBA
trueRetain the geometry’s color and transparency.
- RGBA + Z Depth (REN) / Controls / Z
trueFog requires Z Depth; ordinary RGB is insufficient.
- Masked Z haze (FOG) / Controls / Z Near Plane
-5For this camera the near plane has camera-space Z = −5; confirm it with Z Sample.
- Masked Z haze (FOG) / Controls / Z Far Plane
-9The far plane has camera-space Z = −9; confirm it with a second Z Sample.
- Masked Z haze (FOG) / Controls / Fog Opacity
0.5Make the mask extent visible during preview.
Reproduce the example
- Build the two planes from the settings: near on the left, far on the right, camera at Z = 5. Enable RGBA and Z Depth in Renderer3D.
Every variant uses the same self-contained scene; no external EXR is required.
Check: At frame 48 both colored planes are visible. Compare Fog bypass/on and numeric surface Z; do not sample depth from the empty background.
- Use the specified scene with two planes and a camera. Check Renderer3D.Image → Fog.Input and enable Z Depth.
The mask provides coverage, not depth or the required source image.
Check: Viewer Z Sample distinguishes −5 at the near plane and −9 at the far plane; if values differ, check the camera and transforms, then sample the actual Near/Far values.
- Connect RectangleMask.Mask to Fog.EffectMask (blue).
The manual describes Effect Mask as limiting the effect after processing.
Check: The cable is mask; Fog.BlurImage remains unused.
- Tune Near/Far and Opacity with Rectangle fixed, then compare inside and outside.
Depth shaping and spatial mask boundaries should be evaluated independently.
Check: Outside Rectangle should remain clean and inside should show Z fog — native render pending.
- Connect Fog.Output → MediaOut; inspect feather and alpha boundaries at 100%.
Post-process masking can expose Z discontinuities and edge artifacts.
Check: All three typed edges pass; actual alpha still requires inspection.
Expected result
- Result (OUT) · frame 48
Expect depth fog only inside the selected window while the remainder stays clean.
Alpha: Rectangle is a mask, not an image or Z data. Verify feather/alpha with a render.
When the result differs
- Fog affects the whole frame rather than the intended window.
Cause: The mask is missing or wired to the wrong image socket.
Correction: Check RectangleMask.Mask → Fog.EffectMask (mask type).
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21 Reference Manual, Fusion Deep Pixel Nodes / Fog [Fog]
Part 9 Fusion Page Effects > Ch.96 Deep Pixel Nodes > Fog: orange required 2D Input with Z; optional green Blur Image supplies fog source; optional blue Effect Mask applied after processing; near/far Pick, Z Depth Scale, fog RGBA and opacity. fog-controls.png confirms all 11 Controls topics. Exact Flow labels and native pixel/EXR mapping should be verified on target Resolve build.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Fusion 3D
Classic Fusion 3D geometry, lights, Merge3D and Renderer3D workflow used by article examples.
Depth-fogged scene with clean downstream Text+
Keep scene depth haze and UI titles separate, without inventing depth for Text+.
Starting conditions
DaVinci Resolve 21 / Fusion · Deep Pixel Fog Resolve 21 manual, Fusion Fog node; original archived fog-controls.png; Flow port names normalized in teaching model · Fusion deep-pixel 2D node; check installed Resolve edition/version for exact Flow labels · Ubuntu / Windows / macOS; native Z-buffer/EXR mapping, Alpha and render tests pending
1920 × 1080 · 24 fps · 96 frames · 2D RGBA with auxiliary Z; type-safe image edges do not guarantee a usable Z channel
- Shape3D × 2, Camera3D, Merge3D, Renderer3D
- RGBA + Z Depth
- Fog, MediaOut
- TextPlus, installed font
Nodes and connections
GEO— Near orange plane · Z = 0 · Shape3DFAR— Far blue plane · Z = −4 · Shape3DCAM— Camera · Z = 5 · Camera3DM3D— Two depth planes and camera · Merge3DREN— RGBA + Z Depth · Renderer3DFOG— Scene depth haze · FogTXT— UI/title without depth · TextPlusMRG— 2D composite · MergeOUT— Final render · MediaOut
| Source | Destination | Data |
|---|---|---|
Near orange plane · Z = 0 (GEO)Scene | Two depth planes and camera (M3D)Scene1 | scene3d |
Far blue plane · Z = −4 (FAR)Scene | Two depth planes and camera (M3D)Scene2 | scene3d |
Camera · Z = 5 (CAM)Scene | Two depth planes and camera (M3D)Scene3 | scene3d |
Two depth planes and camera (M3D)Scene | RGBA + Z Depth (REN)Scene | scene3d |
Scene depth haze (FOG)Output | 2D composite (MRG)Background | image |
UI/title without depth (TXT)Output | 2D composite (MRG)Foreground | image |
2D composite (MRG)Output | Final render (OUT)Input | image |
RGBA + Z Depth (REN)Image | Scene depth haze (FOG)Input | image |
Graph output: Final render (OUT)
Parameter values
- Near orange plane · Z = 0 (GEO) / Controls / Shape
"Plane"A flat surface has constant depth.
- Near orange plane · Z = 0 (GEO) / Controls / Size
2Both objects must remain separately visible.
- Near orange plane · Z = 0 (GEO) / Transform / Translation X/Y/Z
[-1.3,0,0]Place the near plane on the left.
- Near orange plane · Z = 0 (GEO) / Material / Diffuse Color RGBA
[0.9,0.25,0.1,1]Orange distinguishes the near plane from the blue far plane.
- Far blue plane · Z = −4 (FAR) / Controls / Shape
"Plane"The second plane provides a different Z level.
- Far blue plane · Z = −4 (FAR) / Controls / Size
3The larger far object remains easy to see.
- Far blue plane · Z = −4 (FAR) / Transform / Translation X/Y/Z
[1.8,0,-4]Place the far plane to the right and four scene units deeper.
- Far blue plane · Z = −4 (FAR) / Material / Diffuse Color RGBA
[0.1,0.4,0.9,1]Blue distinguishes the far plane from the near plane.
- Camera · Z = 5 (CAM) / Transform / Translation X/Y/Z
[0,0,5]The unrotated camera looks along negative Z.
- Camera · Z = 5 (CAM) / Transform / Rotation X/Y/Z
[0,0,0]Parallel planes produce simple reference depths.
- Camera · Z = 5 (CAM) / Controls / Focal Length
35Both planes fit in one reference frame.
- RGBA + Z Depth (REN) / Controls / Renderer Type
"Software Renderer"Fix the renderer for a repeatable Z pass.
- RGBA + Z Depth (REN) / Controls / Enable Lighting
falseFixed colors without scene lighting are sufficient for the fog test.
- RGBA + Z Depth (REN) / Controls / RGBA
trueRetain the geometry’s color and transparency.
- RGBA + Z Depth (REN) / Controls / Z
trueFog requires Z Depth; ordinary RGB is insufficient.
- UI/title without depth (TXT) / Text / Styled Text
"DEPTH / FOG"Specify the text so Text+ is not empty.
- UI/title without depth (TXT) / Text / Size
0.08A readable size for Full HD.
- UI/title without depth (TXT) / Layout / Center
[0.5,0.8]The title sits above the geometry and is composited after Fog.
- Scene depth haze (FOG) / Controls / Z Near Plane
-5For this camera the near plane has camera-space Z = −5; confirm it with Z Sample.
- Scene depth haze (FOG) / Controls / Z Far Plane
-9The far plane has camera-space Z = −9; confirm it with a second Z Sample.
- Scene depth haze (FOG) / Controls / Fog Opacity
0.25Restrained treatment to preserve foreground detail.
Reproduce the example
- Build the two planes from the settings: near on the left, far on the right, camera at Z = 5. Enable RGBA and Z Depth in Renderer3D.
Every variant uses the same self-contained scene; no external EXR is required.
Check: At frame 48 both colored planes are visible. Compare Fog bypass/on and numeric surface Z; do not sample depth from the empty background.
- Use the specified scene with two planes and a camera. Check Renderer3D.Image → Fog.Input and enable Z Depth.
Fog should evaluate the scene's depth, not graphics with no matching Z.
Check: Viewer Z Sample distinguishes −5 at the near plane and −9 at the far plane; if values differ, check the camera and transforms, then sample the actual Near/Far values.
- Connect Fog.Output to Merge.Background.
The depth-processed image becomes the title's background.
Check: One 2D image feeds Merge.Background.
- Wire TextPlus.Output to Merge.Foreground downstream of Fog; do not fabricate Z for the title.
The title remains legible regardless of atmospheric depth on the scene.
Check: TextPlus must not connect to Fog.Input/BlurImage/EffectMask.
- Connect Merge.Output → MediaOut.Input; inspect titles over bright/dark haze and in Alpha Viewer.
The post-fog composite keeps typography and transparency easier to control.
Check: Four typed image edges; verify rendered title readability in Resolve.
Expected result
- Final render (OUT) · frame 48
Expect atmospheric fog on the source scene while the overlaid Text+ remains crisp.
Alpha: Title transparency uses Merge.Foreground, not a fabricated Fog mask or depth channel.
When the result differs
- Title becomes fogged out or lost in the background.
Cause: Text+ was composited before Fog or its alpha was mishandled.
Correction: Move TextPlus → Merge.Foreground downstream of Fog and review RGBA contrast.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21 Reference Manual, Fusion Deep Pixel Nodes / Fog [Fog]
Part 9 Fusion Page Effects > Ch.96 Deep Pixel Nodes > Fog: orange required 2D Input with Z; optional green Blur Image supplies fog source; optional blue Effect Mask applied after processing; near/far Pick, Z Depth Scale, fog RGBA and opacity. fog-controls.png confirms all 11 Controls topics. Exact Flow labels and native pixel/EXR mapping should be verified on target Resolve build.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Fusion 3D
Classic Fusion 3D geometry, lights, Merge3D and Renderer3D workflow used by article examples.
Other outlines from the article
Renderer3D depth haze
A Shape3D and Camera3D feed Renderer3D, whose rendered image and Z channel are processed by Fog.
- Shape3D + Camera3D → Merge3D
- Merge3D → Renderer3D (enable Z Depth)
- Renderer3D.Image → Fog.Input
- Fog.Output → MediaOut
Textured atmospheric fog
EXR Z controls camera distance; FastNoise enters the separate green fog-pattern image input.
- EXR with Z → Fog.Input
- FastNoise.Output → Fog.Blur Image
- Fog.Output → MediaOut
Masked depth fog
Rectangle restricts Fog after the depth processing; it does not replace the auxiliary Z pass.
- EXR with Z → Fog.Input
- Rectangle.Mask → Fog.EffectMask
- Fog.Output → MediaOut
Clean graphics on fogged scene
Use Fog on the shot and add Text+ through a separate Merge after the fog.
- EXR with Z → Fog.Input
- Fog.Output → Merge.Background
- TextPlus.Output → Merge.Foreground
- Merge.Output → MediaOut
Mistakes
- Connecting Merge3D.Scene or Fog3D.Output directly to Fog.Input.
- Assuming a gray RGB image is automatically the auxiliary Z channel.
- Forgetting to enable Renderer3D Z Depth output.
- Wiring Rectangle.Mask to green Blur Image rather than blue Effect Mask.
- Mistaking Blur Image for true 3D volume density or a mask socket.
- Copying screenshot Far -500 without inspecting depth convention.
- Sampling a transparent edge or region with no valid Z.
- Using extreme Z Scale to disguise missing or incorrectly mapped depth.
- Conflating Fog Color Alpha with Fog Opacity.
- Placing titles upstream if they must not be fogged.
- Treating an opacity of 1.0 as a default artistic preset without checking contrast.
- Claiming a typed graph proves per-pixel Z, alpha or rendered output.
Tips
- Start with a flat Fog Color, no Blur Image and no Effect Mask, to isolate depth behavior.
- Pick Near/Far from real geometry and write down Z values for reproducibility.
- Investigate the Z pass and EXR mapping before adding compensating processing chains.
- Compare near/far contrast with moderate global Fog Opacity.
- Use FastNoise for green Blur Image variation and Rectangle for the blue Effect Mask.
- Inspect alpha and depth-edge pixels around transparent geometry.
- Do not copy Fog3D controls such as Radial/Exp2; those belong to a different scene3d tool.
- Keep graphics crisp by compositing Text+ downstream of depth fog.
Workflow order
- Prepare Renderer3D output with Z Depth enabled, or an EXR with correctly mapped auxiliary Z.
- Check Z-channel variation before relying on the image port; a typed image edge cannot prove auxiliary-channel presence.
- Connect Renderer3D.Image or MediaIn.Output to the orange Fog.Input; never feed scene3d directly.
- Start with Blur Image and Effect Mask disconnected to evaluate the untextured fog baseline.
- Use Near Sample on foreground geometry and Far Sample on a distant surface; record their actual values/signs.
- Briefly raise Fog Opacity to debug falloff, then reduce it to the artistic target.
- Tune Z Scale only with valid depth data and without hiding EXR channel-mapping mistakes.
- Choose Fog Color RGB to match scene atmosphere; inspect the color Alpha separately from global Fog Opacity.
- For a varied fog pattern, feed FastNoise.Output to green Fog.Blur Image and A/B with the port disconnected.
- For localized effects, connect Rectangle.Mask to blue Fog.EffectMask, never to Blur Image.
- Composite Text+ downstream in Merge.Foreground if titles must remain unaffected by scene fog.
- Review Z, RGB, Alpha, depth edges and a real Resolve export before claiming visual parity.
