# DFAO (Distance Field Approx AO) Shader Node

**URL:** <https://forums.unrealengine.com/t/dfao-distance-field-approx-ao-shader-node/2525469>\
**Category:** Pipeline & Plugins\
**Tags:** art, distance-fields, unreal-engine, ambient-occlusion, Rendering, Shaders, question\
**Created:** [May 24, 2025, 3:27am UTC](https://forums.unrealengine.com/t/dfao-distance-field-approx-ao-shader-node/2525469 "2025-05-24T03:27:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthony\_Dimovski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anthony\_Dimovski](https://forums.unrealengine.com/u/Anthony_Dimovski)\
**Post date:** [May 24, 2025, 3:27am UTC](https://forums.unrealengine.com/t/dfao-distance-field-approx-ao-shader-node/2525469/1 "2025-05-24T03:27:17Z")

</div>

I’m using the DFAO shader node to for my building and I’m noticing that it loses detail as the camera zooms out (which makes sense). Though is there a way to keep the DFAO detail consistent? Or perhaps an alternative method?

So far I’ve tried:  
• Setting the scalability higher  
• Disabling mipmaps for my textures  
• Adjusting the parameters for the DFAO node itself  
• Increasing the ‘Distance Field Voxel Density’ parameter in the project settings

Though none of those solutions work. I’ve uploaded a video and my shader setup below to better explain what I mean.

  
 ![DFAO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/4/a846143cfbbb56607fb0e2b49663c99ea4c9b185.png)

---

<div class="post-metadata">

**Author:** ![t-hoshino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@t-hoshino](https://forums.unrealengine.com/u/t-hoshino)\
**Post date:** [April 2, 2026, 4:51am UTC](https://forums.unrealengine.com/t/dfao-distance-field-approx-ao-shader-node/2525469/2 "2026-04-02T04:51:05Z")

</div>

`r.AOUpdateGlobalDistanceField 0`

This console command can be used to stop the DistanceField from updating.

By stopping the update while the camera is close, you can move away while preserving the details.
