← Fusion node reference
Depth & AtmosphereIntermediate

Fog

Z-depth atmospheric fog

Applies colored fog according to Z-depth so distant regions can fade progressively into an atmospheric color.

Fog
DaVinci Resolve · Fusion

Applies colored fog according to Z-depth so distant regions can fade progressively into an atmospheric color.

Overview

What Fog does

Applies colored fog according to Z-depth so distant regions can fade progressively into an atmospheric color.

Fog maps depth values between a near and far plane into opacity. Pixels near the chosen near plane stay clearer, while pixels approaching the far plane receive more of the fog color.

Mental model

Fog maps depth values between a near and far plane into opacity. Pixels near the chosen near plane stay clearer, while pixels approaching the far plane receive more of the fog color.

Common uses

Create atmospheric perspective from a Z channel
Fade distant CG elements into haze
Integrate 3D renders with background atmosphere
Use depth to create colored distance falloff
Build stylized depth separation

Flow anatomy

Inputs & outputs

The port structure shows how this node fits into a Fusion graph.

Image

Source image for the operation.

Effect Mask

Optional mask that limits where the node affects the image.

Fog
Fusion node

Output

The processed result from this node.

Inspector

Important parameters

Start with these controls before reaching for more complicated workarounds.

Z Near Plane

Sets the depth where fogging begins.

Sample for Z Near Plane

Samples the image/depth data to set the near boundary of the fog range.

Z Far Plane

Sets the depth where fog reaches its far response.

Sample for Z Far Plane

Samples the image/depth data to set the far boundary of the fog range.

Z Scale

Scales how the Z values are interpreted.

Fog Color

Sets the RGB/Alpha color blended into distant regions.

Red

Adjusts the red channel.

Use channel-specific controls when the operation should not affect all components equally.

Green

Adjusts the green channel.

Use channel-specific controls when the operation should not affect all components equally.

Blue

Adjusts the blue channel.

Use channel-specific controls when the operation should not affect all components equally.

Alpha

Adjusts the alpha channel.

Use channel-specific controls when the operation should not affect all components equally.

Fog Opacity

Controls overall fog strength.

Practical setup

A reliable workflow

  1. 1

    Confirm the input actually contains useful Z-depth data.

  2. 2

    Sample or set the near and far planes around the relevant scene range.

  3. 3

    Adjust Z Scale only when the depth units do not match the expected range.

  4. 4

    Choose a fog color that matches the scene atmosphere.

  5. 5

    Increase Fog Opacity gradually and inspect edges around depth discontinuities.

Typical node chain
Source
Fog
Output

Examples

Where this node fits in real work

Depth haze

Fade a rendered 3D scene into atmospheric color.

Renderer3D with ZFogMediaOut

Stylized depth pass

Use colored fog to separate foreground and background.

Deep/3D RenderFogColorCorrector

Troubleshooting

Common mistakes

Applying Fog before the image is in the technical state the node expects.
Pushing Fog too far before checking artifacts at full resolution.
Judging Fog on one still frame instead of checking motion and edge behavior.

Production notes

Practical tips

Compare Fog with bypass regularly while tuning it.
Keep Fog and other technical conversions separate from creative grading when possible.
After strong Fog processing, check alpha, highlights and image boundaries.

Related nodes