FUSION · FULL ARTICLE
AmbientOcclusion
Computes SSAO as a 2D post effect after Renderer3D. It requires a rendered image carrying Z and Normal plus the matching Camera3D, and returns a normal image stream.
Overview
AmbientOcclusion [SSAO] belongs to Fusion's Deep Pixel/post-render workflow. The scene must be rasterized first: classic scene3d goes through Renderer3D, then AmbientOcclusion works on the resulting 2D image and auxiliary channels.
The orange Input is required and expects a 2D RGBA image carrying Z-Depth and Normals. In a native Fusion 3D workflow, enable RGBA, Z and Normal in Renderer3D Output Channels before feeding its Image output into AmbientOcclusion.
The green Camera input is also required. Connect the Camera3D, or a 3D scene containing the camera, that actually produced the input render. Camera data is needed to interpret depth/normals in the correct view context.
The blue Effect Mask is optional and only limits where the already computed 2D effect is applied. It does not replace the image/depth/normal data or the required camera connection.
Ambient occlusion approximates low-frequency environmental shadowing: creases, contact zones and nearby surfaces become darker because less surrounding light would reach them. It does not generate sharp shadows and does not replace diffuse/specular/key lighting.
Output Mode Color applies AO to the incoming image. Output Mode AO returns the pure grayscale occlusion factor for downstream multiply/grade workflows. AO mode is still an image output, not Fusion's separate mask datatype.
Hemisphere is the normal production baseline because samples are oriented around the surface normal. Sphere is a stylistic alternative with a substantially different response on flat surfaces.
Kernel Radius sets the scene/depth-space search distance for occluders. Too small misses nearby geometry; too large produces broad dirty shading and needs many more samples to recover quality.
Number of Samples controls sampling quality. Tune Radius first, then increase Samples only as needed to reduce noise or artifacts.
Lift, Gamma and Tint shape the finished AO response. They are look controls, not substitutes for missing Z/Normal data, a wrong camera or an inappropriate Kernel Radius.
Eye selects Mono/Left/Right stereo context. Camera selects the camera context available through the camera input; a direct single-camera workflow normally starts at Mono + Default.
SSAO is screen-space and can show edge/depth-discontinuity artifacts. Current Fusion 21 feature information still lists GPU-accelerated Ambient Occlusion rendering, while the bundled Inspector capture confirms the classic control set used by this article.
All three practices specify one scene: a Radius=1 sphere at Y=1 touches a Size=10 plane at Y=0; the camera at (0,3,8) is tilted −14° around X. Software Renderer outputs RGBA, Normal and Z, with Kernel Radius starting at 0.5. Compare the sphere contact and open floor in the same frame.
When to use it
- Add contact shading to a Renderer3D result
- Emphasize creases and close-proximity geometry
- Create a standalone AO utility pass
- Add inexpensive depth cues without full global illumination
- Use Z/Normal auxiliary data for post-render 3D-aware processing
- Limit SSAO locally with an Effect Mask
Article screenshots
Inputs & outputs
AmbientOcclusion consumes a rendered image plus the matching camera, not raw scene3d
This is a Deep Pixel / SSAO post effect. Orange Input takes the Renderer3D image carrying RGBA + Z + Normal; green Camera takes the Camera3D or scene that produced that render; blue Effect Mask only limits the already computed effect.
Uses Z-depth, normals and camera view data to estimate screen-space occlusion and returns a normal 2D image: combined Color+AO or a pure grayscale AO pass.
Inputs
- Input
Rendered image with auxiliary channels
Receives: A 2D image after Renderer3D; correct SSAO requires RGBA plus Z and Normal data in the stream.
Inside the node: AmbientOcclusion treats depth/normals as the screen-space representation of geometry and uses the beauty image as the basis for Color output.
Typical sources: Renderer3D.Image with RGBA + Z + Normal · compatible rendered/deep-pixel image carrying Z + Normal
This is NOT a SceneInput. Raw Merge3D/Shape3D scene3d does not belong here.
- Camera
View/camera context
Receives: Camera3D or a 3D scene containing the camera corresponding to the input render.
Inside the node: Camera data supplies the view transform required to interpret Z/Normal for SSAO reconstruction.
Typical sources: the same Camera3D used by Merge3D · a 3D scene branch containing the rendering camera
Camera is required. A mismatched camera can produce spatially incorrect AO even when Z/Normal exist.
- Effect Mask
Limit the 2D effect
Receives: Rectangle, Ellipse, Polygon, B-Spline, Bitmap or another Fusion mask.
Inside the node: Limits the area where the already computed AmbientOcclusion result is applied.
Typical sources: Rectangle · Ellipse · Polygon · B-Spline · Bitmap
The mask replaces neither Input nor Camera and does not provide Z/Normal data.
Outputs and destination
Output
A normal 2D image: either Color with AO applied or a pure grayscale AO utility pass.
Next step: MediaOut · Merge · ColorCorrector · BrightnessContrast · ChannelBooleans / utility compositing
Output Mode=AO is still an image stream, not a mask datatype or scene3d.
- Output
- A normal 2D image: either color with AO applied or the pure grayscale AO factor.
Processing order
- Render the classic 3D scene through Renderer3D first.
- Renderer3D must output RGBA, Z and Normal auxiliary channels.
- Feed Renderer3D.Image into AmbientOcclusion.Input.
- Feed the same Camera3D into AmbientOcclusion.Camera.
- Optionally limit the 2D effect with Effect Mask.
- AmbientOcclusion.Output continues through the normal image pipeline.
Correct SSAO post chain
Merge3D → Renderer3D [RGBA+Z+Normal] → AmbientOcclusion.Input · same Camera3D → AmbientOcclusion.Camera → MediaOut
Renderer3D is the critical boundary: scene3d exists upstream; AmbientOcclusion works on pixels and auxiliary channels downstream.
AmbientOcclusion is post-render SSAO: Renderer3D image with Z+Normal plus the matching camera are required; Effect Mask only limits coverage.
Parameters
AmbientOcclusion · Inspector reference
Read AmbientOcclusion in four layers: output semantics → sampling geometry → tonal shaping → camera/stereo context. The key technical boundary lives upstream of the Inspector: Input must already carry Renderer3D RGBA + Z + Normal and Camera must match the rendering camera.
- Upstream
- Renderer3D: RGBA + Z + Normal
- View
- matching Camera3D
- Sampling
- Kernel Type → Radius → Samples
- Look
- Lift / Gamma / Tint
- Output
- Color or AO image
Output Mode · What the node outputs
Color applies AO to the beauty while AO returns the pure grayscale occlusion image. Both remain 2D image outputs.
- Output Mode / Color
Output Mode > Output Mode / ColorApplies ambient occlusion to the incoming image and returns the combined color result.
Check / distinguish: A/B Color against AO mode to separate the occlusion signal from the beauty image.
- Output Mode / AO
Output Mode > Output Mode / AOReturns the pure grayscale occlusion factor as an image utility pass. Brighter regions are less occluded; darker regions are more occluded.
Check / distinguish: Treat this as an image, not a mask socket datatype.
- AO is an image, not a mask
Controls > Output Mode = AOThe grayscale AO pass remains a normal image stream. It can be used as a utility image in Merge/ChannelBooleans/grade, but it is not the blue mask datatype.
Check / distinguish: For a standard Effect Mask, select the image channel on the receiver. Bitmap can add separate matte processing; check the receiving tool’s documentation for special Garbage Matte and Pre-Mask inputs.
Kernel · Quality · Where to search for occluders and how cleanly
Hemisphere/Sphere select the sampling shape, Kernel Radius sets the spatial search scale, and Number of Samples controls estimate quality.
- Kernel Type / Hemisphere
Kernel · Quality > Kernel Type / HemisphereSamples a hemisphere oriented by the surface normal. This is the more realistic default response for ordinary SSAO.
Check / distinguish: Start here unless a stylized Sphere response is intentional.
- Kernel Type / Sphere
Kernel · Quality > Kernel Type / SphereSamples a sphere around the shaded point. It produces a stylized response and changes how flat surfaces are evaluated.
Check / distinguish: If large flat regions turn unexpectedly gray, verify that Sphere is not enabled accidentally.
- Number of Samples
Kernel · Quality > Number of SamplesControls the number of samples used to estimate occlusion. More samples can reduce noise/artifacts but increase render cost.
Check / distinguish: Tune Kernel Radius before raising Samples aggressively.
- Kernel Radius
Kernel · Quality > Kernel RadiusSets how far in scene/depth space the SSAO search looks for occluders. The useful value depends on the Z scale of the scene.
Check / distinguish: If AO is absent or globally dirty, diagnose Radius before Lift/Gamma.
- Radius before Samples
Controls > Kernel Radius / Number of SamplesKernel Radius defines the occluder search scale while Samples refines that estimate. A large sample count does not repair a fundamentally wrong radius.
Check / distinguish: Lower Samples for preview, find a working Radius, then raise Samples until quality is acceptable.
- Hemisphere is the realistic baseline
Controls > Kernel TypeHemisphere is oriented by the surface normal and is the normal production baseline; Sphere intentionally produces a different stylistic response.
Check / distinguish: Compare Hemisphere and Sphere on a large flat surface while keeping Radius/Samples fixed.
Lift · Gamma · Tint · Artistic shaping of the result
Lift/Gamma/Tint shape tone/color after depth/normal/camera and Radius are already correct.
- Lift
Lift · Gamma · Tint > LiftRaises the darkest AO values for a softer result.
Check / distinguish: Use it after the geometry response is already correct.
- Gamma
Lift · Gamma · Tint > GammaShapes the tonal distribution of the AO result without changing where contacts occur.
Check / distinguish: Do not use Gamma to hide a bad radius or missing channels.
- Tint
Lift · Gamma · Tint > TintColors the occlusion response.
Check / distinguish: Keep it neutral while diagnosing SSAO.
- Red / Green / Blue
Lift · Gamma · Tint > Red / Green / BlueSet the Tint color components. These are look controls, not the Normal/Z auxiliary channels.
Check / distinguish: Isolate the target channel in Viewer and change one operation at a time.
- Lift/Gamma/Tint do not restore missing buffers
Controls > Lift / Gamma / TintThese controls reshape an already computed AO response. They do not create Z/Normal data or repair a camera mismatch.
Check / distinguish: Before lookdev, temporarily return Lift=0, Gamma=1 and Tint=white and verify upstream buffers.
Eye · Camera · View/stereo context
Eye and Camera select the view context and must correspond to the input render, especially in stereo or multi-camera comps.
- Eye / Mono · Left · Right
Eye · Camera > Eye / Mono · Left · RightSelects the stereo eye/context used for the calculation.
Check / distinguish: Use Mono for standard non-stereo work.
- Camera / Default
Eye · Camera > Camera / DefaultSelects the camera context available from the Camera input.
Check / distinguish: It must correspond to the camera that rendered the input image.
- Camera must match the render
Flow > Camera inputAmbientOcclusion reconstructs screen-space geometry relative to the camera view. Connect the same Camera3D used for the Renderer3D render.
Check / distinguish: Branch Camera3D to both Merge3D and AmbientOcclusion.Camera; only swap in another camera as a diagnostic A/B test.
Before adjusting the node
- Before tuning the Inspector, verify topology: Renderer3D.Image → AmbientOcclusion.Input and the same Camera3D → AmbientOcclusion.Camera.
- Renderer3D must output Z and Normal along with RGBA; AmbientOcclusion look controls cannot repair missing source data.
- Start with Hemisphere and Output Mode=AO, find Kernel Radius first, and increase Samples only after radius is stable.
- Lift/Gamma/Tint are final shaping controls, not diagnostics for missing depth/camera data.
- Inspect screen borders, depth discontinuities and playback because SSAO artifacts can hide in a single still.
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
AmbientOcclusion: the correct post-render chain
Establish the key contract: AmbientOcclusion sits after Renderer3D, consumes a rendered image carrying Z/Normal, and separately receives the same Camera3D.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; current AmbientOcclusion Inspector capture cross-checked against Blackmagic Fusion Deep Pixel / SSAO reference semantics · Classic Fusion Deep Pixel / SSAO post-processing; AmbientOcclusion works on a rendered 2D image carrying Z and Normal auxiliary channels and needs matching camera data · Cross-platform reference; live Resolve 21/21.1 execution was not run in this package
1920 × 1080 · 24 fps · 144 frames · Renderer3D converts scene3d to an image plus auxiliary channels; AmbientOcclusion consumes that image/deep-pixel data together with the rendering camera and outputs a normal 2D image
- DaVinci Resolve / Fusion with AmbientOcclusion (SSAO)
- Renderer3D output with RGBA, Z and Normal enabled
- The same Camera3D (or a 3D scene containing that camera) that produced the rendered view
Nodes and connections
SHAPE— Sphere · radius 1, Y = 1 · Shape3DCAM— Camera3D · Camera3DLIGHT— DirectionalLight · DirectionalLightMERGE— 3D Scene · Merge3DRENDER— Renderer3D · Renderer3DAO— AmbientOcclusion · AmbientOcclusionOUT— MediaOut · MediaOutFLOOR— Floor · 10 × 10, Y = 0 · Shape3D
| Source | Destination | Data |
|---|---|---|
Floor · 10 × 10, Y = 0 (FLOOR)Scene | 3D Scene (MERGE)Scene1 | scene3d |
Camera3D (CAM)Scene | 3D Scene (MERGE)Scene2 | scene3d |
DirectionalLight (LIGHT)Scene | 3D Scene (MERGE)Scene3 | scene3d |
3D Scene (MERGE)Scene | Renderer3D (RENDER)Scene | scene3d |
Renderer3D (RENDER)Image | AmbientOcclusion (AO)Input | image |
Camera3D (CAM)Scene | AmbientOcclusion (AO)Camera | scene3d |
AmbientOcclusion (AO)Output | MediaOut (OUT)Input | image |
Sphere · radius 1, Y = 1 (SHAPE)Scene | Floor · 10 × 10, Y = 0 (FLOOR)SceneInput | scene3d |
Graph output: MediaOut (OUT)
Parameter values
- Sphere · radius 1, Y = 1 (SHAPE) / Controls / Shape
"Sphere"A sphere supplies a curved surface beside the flat floor.
- Sphere · radius 1, Y = 1 (SHAPE) / Controls / Radius
1A unit radius establishes a known scene scale.
- Sphere · radius 1, Y = 1 (SHAPE) / Transform / Translation Y
1The bottom of the sphere touches the floor at Y = 0.
- Floor · 10 × 10, Y = 0 (FLOOR) / Controls / Shape
"Plane"The second surface makes contact occlusion observable.
- Floor · 10 × 10, Y = 0 (FLOOR) / Controls / Size
10With Lock Width/Height enabled this creates a 10 × 10 floor.
- Floor · 10 × 10, Y = 0 (FLOOR) / Transform / Rotation X
-90The XY plane becomes an XZ floor with an upward normal.
- Camera3D (CAM) / Transform / Translation X/Y/Z
[0,3,8]The camera sees the sphere and the surrounding floor.
- Camera3D (CAM) / Transform / Rotation X
-14The tilt aims toward the sphere and floor contact.
- Camera3D (CAM) / Controls / Focal Length
35A fixed focal length keeps the framing comparable.
- DirectionalLight (LIGHT) / Transform / Rotation X/Y/Z
[-45,-30,0]One angled light makes the surfaces distinguishable.
- Renderer3D (RENDER) / Controls / Renderer Type
"Software Renderer"Use one explicit renderer and its Z/Normal auxiliary channels.
- Renderer3D (RENDER) / Controls / Enable Lighting
trueThe beauty render must show lit surfaces.
- Renderer3D (RENDER) / Controls / RGBA
trueKeep the normal color/alpha image in the rendered stream.
- Renderer3D (RENDER) / Controls / Normal
trueAmbientOcclusion needs surface normals from the rendered image.
- Renderer3D (RENDER) / Controls / Z
trueAmbientOcclusion needs depth for screen-space occlusion sampling.
- AmbientOcclusion (AO) / Controls / Output Mode
"Color"Start with the incoming beauty image plus AO applied.
- AmbientOcclusion (AO) / Controls / Kernel Type
"Hemisphere"Use the normal-oriented hemisphere as the realistic baseline.
- AmbientOcclusion (AO) / Controls / Number of Samples
512Use a moderate preview value before increasing quality.
- AmbientOcclusion (AO) / Controls / Kernel Radius
0.5A radius of 0.5 is half the sphere radius; compare 0.25 / 0.5 / 1 in this same scene.
Reproduce the example
- Create the sphere and floor at the specified sizes, then place the camera and light. Connect SHAPE.Scene → FLOOR.SceneInput → MERGE.Scene1, CAM → MERGE.Scene2 and LIGHT → MERGE.Scene3.
The scene contains two touching objects; all three exercises use the same geometry and camera.
Check: At frame 96 the Renderer3D Viewer shows a sphere and floor. Inspect Z and Normal separately, then compare AO bypass, Color and AO on that same frame. The contact beneath the sphere should differ from the open floor.
- Build the 3D scene and place Renderer3D before AmbientOcclusion.
AmbientOcclusion is not a scene3d processor. It is a screen-space post-effect operating on an already rendered image.
Check: Merge3D.Scene feeds Renderer3D.Scene, and Renderer3D.Image feeds AmbientOcclusion.Input.
- Enable RGBA, Normal and Z in Renderer3D.
SSAO reconstructs screen-space geometry from depth and normals; beauty RGB alone is insufficient.
Check: The beauty remains visible while the downstream stream also carries Normal and Z auxiliary data.
- Branch the same Camera3D used in Merge3D into AmbientOcclusion's green Camera input.
AO must interpret Z/Normal in the same view context that created the render.
Check: Camera3D.Scene is connected to both Merge3D and AmbientOcclusion.Camera; it is not a 2D image input.
- Keep Hemisphere, tune Kernel Radius to scene scale, and only then raise Number of Samples.
A bad radius cannot be fixed by a huge sample count: too small misses contacts, too large lowers AO quality and requires far more samples.
Check: AO appears in creases/contact zones without turning the whole object into a dirty haze.
Expected result
- MediaOut (OUT) · frame 96
MediaOut receives a normal 2D RGBA image with SSAO computed from Renderer3D Z/Normal and the matching camera.
Alpha: AmbientOcclusion processes an image stream, not scene3d. Alpha remains part of the 2D result and can be composited by normal Fusion image nodes.
When the result differs
- AmbientOcclusion produces no useful result or appears incomplete.
Cause: Z/Normal are missing, Camera is not connected, or a different camera is used from the one that rendered the scene.
Correction: Verify Renderer3D RGBA+Z+Normal and branch the actual rendering Camera3D into AmbientOcclusion.Camera.
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/21.1 Reference Manual: Directional Light
Fusion Page Effects > 3D Light Nodes > Directional Light [3DL] plus 3D Compositing Basics: one optional orange SceneInput, parallel rays, Rotation defines direction while source position has no lighting meaning, loading the light alone into a Viewer shows no scene, Merge3D/Viewer Lighting is used for preview, scenes without explicit lights use a default directional light that disappears after a light is added, DirectionalLight shadows require the Hardware Renderer path, and Merge3D Pass Through Lights is off by default. Captured Resolve 21 Inspector additionally verifies the presence/labels of Shadow Weight, Tight Projection, Clip Near/Far and Variable Fast; exact semantics of those current-build controls remain a separate live-verification item because the current textual reference does not define them.
- 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 — Fusion 21 feature comparison
Current Fusion 21 feature matrix: GPU accelerated Ambient Occlusion rendering and multi-channel/deep-pixel compositing remain supported.
- Blackmagic Design — Fusion 9 Tool Reference: Ambient Occlusion [SSAO]
DeepPixel Tools > Ambient Occlusion: required rendered image carrying RGBA/Z/Normals, required Camera input, optional Effect Mask and classic SSAO controls.
- Blackmagic Design — DaVinci Resolve / Fusion Renderer3D reference
Renderer3D auxiliary Output Channels used by SSAO: RGBA, Z and Normal; Renderer3D is the scene3d-to-image boundary.
AmbientOcclusion: a separate AO utility pass
Output a pure grayscale AO utility pass instead of the combined Color result and tune it without replacing scene lighting.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; current AmbientOcclusion Inspector capture cross-checked against Blackmagic Fusion Deep Pixel / SSAO reference semantics · Classic Fusion Deep Pixel / SSAO post-processing; AmbientOcclusion works on a rendered 2D image carrying Z and Normal auxiliary channels and needs matching camera data · Cross-platform reference; live Resolve 21/21.1 execution was not run in this package
1920 × 1080 · 24 fps · 144 frames · Renderer3D converts scene3d to an image plus auxiliary channels; AmbientOcclusion consumes that image/deep-pixel data together with the rendering camera and outputs a normal 2D image
- DaVinci Resolve / Fusion with AmbientOcclusion (SSAO)
- Renderer3D output with RGBA, Z and Normal enabled
- The same Camera3D (or a 3D scene containing that camera) that produced the rendered view
Nodes and connections
SHAPE— Sphere · radius 1, Y = 1 · Shape3DCAM— Camera3D · Camera3DLIGHT— DirectionalLight · DirectionalLightMERGE— 3D Scene · Merge3DRENDER— Renderer3D · Renderer3DAO— AmbientOcclusion · AmbientOcclusionOUT— MediaOut · MediaOutFLOOR— Floor · 10 × 10, Y = 0 · Shape3D
| Source | Destination | Data |
|---|---|---|
Floor · 10 × 10, Y = 0 (FLOOR)Scene | 3D Scene (MERGE)Scene1 | scene3d |
Camera3D (CAM)Scene | 3D Scene (MERGE)Scene2 | scene3d |
DirectionalLight (LIGHT)Scene | 3D Scene (MERGE)Scene3 | scene3d |
3D Scene (MERGE)Scene | Renderer3D (RENDER)Scene | scene3d |
Renderer3D (RENDER)Image | AmbientOcclusion (AO)Input | image |
Camera3D (CAM)Scene | AmbientOcclusion (AO)Camera | scene3d |
AmbientOcclusion (AO)Output | MediaOut (OUT)Input | image |
Sphere · radius 1, Y = 1 (SHAPE)Scene | Floor · 10 × 10, Y = 0 (FLOOR)SceneInput | scene3d |
Graph output: MediaOut (OUT)
Parameter values
- Sphere · radius 1, Y = 1 (SHAPE) / Controls / Shape
"Sphere"A sphere supplies a curved surface beside the flat floor.
- Sphere · radius 1, Y = 1 (SHAPE) / Controls / Radius
1A unit radius establishes a known scene scale.
- Sphere · radius 1, Y = 1 (SHAPE) / Transform / Translation Y
1The bottom of the sphere touches the floor at Y = 0.
- Floor · 10 × 10, Y = 0 (FLOOR) / Controls / Shape
"Plane"The second surface makes contact occlusion observable.
- Floor · 10 × 10, Y = 0 (FLOOR) / Controls / Size
10With Lock Width/Height enabled this creates a 10 × 10 floor.
- Floor · 10 × 10, Y = 0 (FLOOR) / Transform / Rotation X
-90The XY plane becomes an XZ floor with an upward normal.
- Camera3D (CAM) / Transform / Translation X/Y/Z
[0,3,8]The camera sees the sphere and the surrounding floor.
- Camera3D (CAM) / Transform / Rotation X
-14The tilt aims toward the sphere and floor contact.
- Camera3D (CAM) / Controls / Focal Length
35A fixed focal length keeps the framing comparable.
- DirectionalLight (LIGHT) / Transform / Rotation X/Y/Z
[-45,-30,0]One angled light makes the surfaces distinguishable.
- Renderer3D (RENDER) / Controls / Renderer Type
"Software Renderer"Use one explicit renderer and its Z/Normal auxiliary channels.
- Renderer3D (RENDER) / Controls / Enable Lighting
trueThe beauty render must show lit surfaces.
- Renderer3D (RENDER) / Controls / RGBA
trueKeep the normal color/alpha image in the rendered stream.
- Renderer3D (RENDER) / Controls / Normal
trueAmbientOcclusion needs surface normals from the rendered image.
- Renderer3D (RENDER) / Controls / Z
trueAmbientOcclusion needs depth for screen-space occlusion sampling.
- AmbientOcclusion (AO) / Controls / Output Mode
"AO"Output the pure ambient-occlusion factor as a grayscale utility image.
- AmbientOcclusion (AO) / Controls / Kernel Type
"Hemisphere"Use the realistic baseline kernel.
- AmbientOcclusion (AO) / Controls / Number of Samples
1000Use a higher value only after radius is stable.
- AmbientOcclusion (AO) / Controls / Kernel Radius
0.5A radius of 0.5 is half the sphere radius; compare 0.25 / 0.5 / 1 in this same scene.
- AmbientOcclusion (AO) / Controls / Lift
0.05Raise the darkest AO slightly for a softer utility pass.
- AmbientOcclusion (AO) / Controls / Gamma
1Keep a neutral starting response before creative shaping.
Reproduce the example
- Create the sphere and floor at the specified sizes, then place the camera and light. Connect SHAPE.Scene → FLOOR.SceneInput → MERGE.Scene1, CAM → MERGE.Scene2 and LIGHT → MERGE.Scene3.
The scene contains two touching objects; all three exercises use the same geometry and camera.
Check: At frame 96 the Renderer3D Viewer shows a sphere and floor. Inspect Z and Normal separately, then compare AO bypass, Color and AO on that same frame. The contact beneath the sphere should differ from the open floor.
- Switch Output Mode from Color to AO.
AO mode outputs the occlusion factor itself as a grayscale pass: white is less occluded, dark is more occluded.
Check: MediaOut shows an AO utility map rather than the normal beauty render.
- Tune Kernel Radius for the actual scene scale, then raise Samples until visible noise/artifacts are acceptable.
Radius defines the scene-space search for occluders while Samples mainly controls the quality of that estimate.
Check: Contact zones read clearly while broad flat surfaces do not become arbitrarily gray.
- Adjust Lift/Gamma only after the geometry response is already correct.
Lift/Gamma are artistic shaping controls; they do not repair missing depth/normals or a bad radius.
Check: The tonal density changes while the locations of contact shadows remain stable.
Expected result
- MediaOut (OUT) · frame 96
A clean grayscale AO utility pass suitable for later multiply/grade compositing.
Alpha: The AO pass remains a normal 2D image output. Do not confuse a grayscale RGB result with Fusion's separate mask datatype.
When the result differs
- The whole AO pass is nearly gray or excessively dirty.
Cause: Kernel Radius is too large for the scene Z scale, or Sphere was chosen when a normal Hemisphere response was intended.
Correction: Return to Hemisphere and reduce Radius until local contacts read clearly, then retune Samples.
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/21.1 Reference Manual: Directional Light
Fusion Page Effects > 3D Light Nodes > Directional Light [3DL] plus 3D Compositing Basics: one optional orange SceneInput, parallel rays, Rotation defines direction while source position has no lighting meaning, loading the light alone into a Viewer shows no scene, Merge3D/Viewer Lighting is used for preview, scenes without explicit lights use a default directional light that disappears after a light is added, DirectionalLight shadows require the Hardware Renderer path, and Merge3D Pass Through Lights is off by default. Captured Resolve 21 Inspector additionally verifies the presence/labels of Shadow Weight, Tight Projection, Clip Near/Far and Variable Fast; exact semantics of those current-build controls remain a separate live-verification item because the current textual reference does not define them.
- 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 — Fusion 21 feature comparison
Current Fusion 21 feature matrix: GPU accelerated Ambient Occlusion rendering and multi-channel/deep-pixel compositing remain supported.
- Blackmagic Design — Fusion 9 Tool Reference: Ambient Occlusion [SSAO]
DeepPixel Tools > Ambient Occlusion: required rendered image carrying RGBA/Z/Normals, required Camera input, optional Effect Mask and classic SSAO controls.
- Blackmagic Design — DaVinci Resolve / Fusion Renderer3D reference
Renderer3D auxiliary Output Channels used by SSAO: RGBA, Z and Normal; Renderer3D is the scene3d-to-image boundary.
AmbientOcclusion: Effect Mask after SSAO processing
Show that the blue Effect Mask limits the 2D AO result and replaces neither the Z/Normal image input nor the Camera input.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; current AmbientOcclusion Inspector capture cross-checked against Blackmagic Fusion Deep Pixel / SSAO reference semantics · Classic Fusion Deep Pixel / SSAO post-processing; AmbientOcclusion works on a rendered 2D image carrying Z and Normal auxiliary channels and needs matching camera data · Cross-platform reference; live Resolve 21/21.1 execution was not run in this package
1920 × 1080 · 24 fps · 144 frames · Renderer3D converts scene3d to an image plus auxiliary channels; AmbientOcclusion consumes that image/deep-pixel data together with the rendering camera and outputs a normal 2D image
- DaVinci Resolve / Fusion with AmbientOcclusion (SSAO)
- Renderer3D output with RGBA, Z and Normal enabled
- The same Camera3D (or a 3D scene containing that camera) that produced the rendered view
Nodes and connections
SHAPE— Sphere · radius 1, Y = 1 · Shape3DCAM— Camera3D · Camera3DLIGHT— DirectionalLight · DirectionalLightMERGE— 3D Scene · Merge3DRENDER— Renderer3D · Renderer3DAO— AmbientOcclusion · AmbientOcclusionMASK— Rectangle · RectangleMaskOUT— MediaOut · MediaOutFLOOR— Floor · 10 × 10, Y = 0 · Shape3D
| Source | Destination | Data |
|---|---|---|
Floor · 10 × 10, Y = 0 (FLOOR)Scene | 3D Scene (MERGE)Scene1 | scene3d |
Camera3D (CAM)Scene | 3D Scene (MERGE)Scene2 | scene3d |
DirectionalLight (LIGHT)Scene | 3D Scene (MERGE)Scene3 | scene3d |
3D Scene (MERGE)Scene | Renderer3D (RENDER)Scene | scene3d |
Renderer3D (RENDER)Image | AmbientOcclusion (AO)Input | image |
Camera3D (CAM)Scene | AmbientOcclusion (AO)Camera | scene3d |
Rectangle (MASK)Mask | AmbientOcclusion (AO)EffectMask | mask |
AmbientOcclusion (AO)Output | MediaOut (OUT)Input | image |
Sphere · radius 1, Y = 1 (SHAPE)Scene | Floor · 10 × 10, Y = 0 (FLOOR)SceneInput | scene3d |
Graph output: MediaOut (OUT)
Parameter values
- Sphere · radius 1, Y = 1 (SHAPE) / Controls / Shape
"Sphere"A sphere supplies a curved surface beside the flat floor.
- Sphere · radius 1, Y = 1 (SHAPE) / Controls / Radius
1A unit radius establishes a known scene scale.
- Sphere · radius 1, Y = 1 (SHAPE) / Transform / Translation Y
1The bottom of the sphere touches the floor at Y = 0.
- Floor · 10 × 10, Y = 0 (FLOOR) / Controls / Shape
"Plane"The second surface makes contact occlusion observable.
- Floor · 10 × 10, Y = 0 (FLOOR) / Controls / Size
10With Lock Width/Height enabled this creates a 10 × 10 floor.
- Floor · 10 × 10, Y = 0 (FLOOR) / Transform / Rotation X
-90The XY plane becomes an XZ floor with an upward normal.
- Camera3D (CAM) / Transform / Translation X/Y/Z
[0,3,8]The camera sees the sphere and the surrounding floor.
- Camera3D (CAM) / Transform / Rotation X
-14The tilt aims toward the sphere and floor contact.
- Camera3D (CAM) / Controls / Focal Length
35A fixed focal length keeps the framing comparable.
- DirectionalLight (LIGHT) / Transform / Rotation X/Y/Z
[-45,-30,0]One angled light makes the surfaces distinguishable.
- Renderer3D (RENDER) / Controls / Renderer Type
"Software Renderer"Use one explicit renderer and its Z/Normal auxiliary channels.
- Renderer3D (RENDER) / Controls / Enable Lighting
trueThe beauty render must show lit surfaces.
- Renderer3D (RENDER) / Controls / RGBA
trueKeep the normal color/alpha image in the rendered stream.
- Renderer3D (RENDER) / Controls / Normal
trueAmbientOcclusion needs surface normals from the rendered image.
- Renderer3D (RENDER) / Controls / Z
trueAmbientOcclusion needs depth for screen-space occlusion sampling.
- AmbientOcclusion (AO) / Controls / Output Mode
"Color"Keep the normal combined result for mask inspection.
- AmbientOcclusion (AO) / Controls / Kernel Radius
0.5A radius of 0.5 is half the sphere radius; compare 0.25 / 0.5 / 1 in this same scene.
- Rectangle (MASK) / Controls / Width
0.5Create a clearly visible region of influence.
- Rectangle (MASK) / Controls / Height
0.5Create a clearly visible region of influence.
Reproduce the example
- Create the sphere and floor at the specified sizes, then place the camera and light. Connect SHAPE.Scene → FLOOR.SceneInput → MERGE.Scene1, CAM → MERGE.Scene2 and LIGHT → MERGE.Scene3.
The scene contains two touching objects; all three exercises use the same geometry and camera.
Check: At frame 96 the Renderer3D Viewer shows a sphere and floor. Inspect Z and Normal separately, then compare AO bypass, Color and AO on that same frame. The contact beneath the sphere should differ from the open floor.
- First get correct AO without a mask: connect Renderer3D.Image plus Camera3D and enable Z/Normal.
Effect Mask is not a source of geometry, depth or camera information.
Check: AO works before Rectangle is connected.
- Connect Rectangle.Mask to the blue AmbientOcclusion.EffectMask.
The standard effect mask spatially limits the already processed 2D effect; it is applied after the main processing.
Check: AO is limited to the Rectangle region while the graph keeps image/camera/mask domains separate.
Expected result
- MediaOut (OUT) · frame 96
A correct SSAO post-effect spatially limited by Rectangle without altering 3D scene topology.
Alpha: The mask limits AmbientOcclusion's area of effect while Output remains a normal image stream for downstream 2D compositing.
When the result differs
- Rectangle is connected but AO still does not calculate.
Cause: The mask does not replace the required Input and Camera; Renderer3D may also be missing Z/Normal.
Correction: Restore Renderer3D.Image → Input, Camera3D.Scene → Camera and enable Z+Normal; keep the mask only on EffectMask.
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/21.1 Reference Manual: Directional Light
Fusion Page Effects > 3D Light Nodes > Directional Light [3DL] plus 3D Compositing Basics: one optional orange SceneInput, parallel rays, Rotation defines direction while source position has no lighting meaning, loading the light alone into a Viewer shows no scene, Merge3D/Viewer Lighting is used for preview, scenes without explicit lights use a default directional light that disappears after a light is added, DirectionalLight shadows require the Hardware Renderer path, and Merge3D Pass Through Lights is off by default. Captured Resolve 21 Inspector additionally verifies the presence/labels of Shadow Weight, Tight Projection, Clip Near/Far and Variable Fast; exact semantics of those current-build controls remain a separate live-verification item because the current textual reference does not define them.
- 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 — Fusion 21 feature comparison
Current Fusion 21 feature matrix: GPU accelerated Ambient Occlusion rendering and multi-channel/deep-pixel compositing remain supported.
- Blackmagic Design — Fusion 9 Tool Reference: Ambient Occlusion [SSAO]
DeepPixel Tools > Ambient Occlusion: required rendered image carrying RGBA/Z/Normals, required Camera input, optional Effect Mask and classic SSAO controls.
- Blackmagic Design — DaVinci Resolve / Fusion Renderer3D reference
Renderer3D auxiliary Output Channels used by SSAO: RGBA, Z and Normal; Renderer3D is the scene3d-to-image boundary.
Other outlines from the article
AO over a beauty render
Renderer3D supplies RGBA+Z+Normal and the same Camera3D feeds the required Camera input.
- 3D Scene
- Renderer3D (RGBA + Z + Normal)
- AmbientOcclusion + Camera3D
- MediaOut
Standalone AO pass
Output Mode AO returns a grayscale utility image for later compositing.
- Renderer3D
- AmbientOcclusion · AO
- 2D composite / grade
Masked SSAO
A Rectangle limits the post effect without changing 3D topology or replacing depth/camera data.
- Renderer3D.Image → AmbientOcclusion
- Camera3D → Camera
- Rectangle → Effect Mask
- Output → MediaOut
Mistakes
- Placing AmbientOcclusion between Merge3D and Renderer3D as if it processed scene3d.
- Feeding raw 3D geometry into the main Input instead of Renderer3D.Image.
- Forgetting to output Z and Normal from Renderer3D.
- Leaving Camera unconnected or using a different camera from the one that produced the render.
- Treating Effect Mask as a replacement for required image/camera data.
- Increasing Samples massively before finding an appropriate Kernel Radius.
- Using Lift/Gamma to disguise an incorrect radius or missing auxiliary channels.
- Treating AO as a substitute for the scene's actual lighting.
- Treating Output Mode AO as a mask datatype rather than a grayscale image.
Tips
- Use AO output mode for diagnosis because it isolates the occlusion signal from the beauty render.
- Hemisphere + a moderate sample count + a scene-appropriate radius is the best baseline; increase quality last.
- When AO fails, check Z, Normal and the matching Camera3D before touching look controls.
- Kernel Radius is scene-scale dependent; there is no universal value.
- Keep SSAO subtle in finished motion graphics—if AO itself becomes the first visible feature, it is usually too strong.
- Inspect difficult edges and screen borders in motion because screen-space artifacts may hide in a still frame.
Workflow order
- Build the classic 3D scene and render it through Renderer3D.
- Enable RGBA, Z and Normal in Renderer3D Output Channels.
- Connect Renderer3D.Image to AmbientOcclusion.Input.
- Branch the same Camera3D used for the render into AmbientOcclusion.Camera.
- Start with Output Mode AO and Kernel Type Hemisphere so the raw occlusion is easy to inspect.
- Tune Kernel Radius to scene scale, then raise Number of Samples only as needed for quality.
- Shape the final response with Lift/Gamma/Tint and switch to Color if a combined beauty result is desired.
- Optionally connect a 2D mask to Effect Mask, then continue through normal image/compositing nodes.
