# Foliage Distance Field AO problems?

**URL:** <https://forums.unrealengine.com/t/foliage-distance-field-ao-problems/481332>\
**Category:** World Creation\
**Tags:** settings, distance-fields, unreal-engine, Foliage, Lighting, question\
**Created:** [April 3, 2021, 8:31pm UTC](https://forums.unrealengine.com/t/foliage-distance-field-ao-problems/481332 "2021-04-03T20:31:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MinnekraftFan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MinnekraftFan](https://forums.unrealengine.com/u/MinnekraftFan)\
**Post date:** [April 3, 2021, 8:31pm UTC](https://forums.unrealengine.com/t/foliage-distance-field-ao-problems/481332/1 "2021-04-03T20:31:43Z")

</div>

Hey,

As you can see in [this video](https://streamable.com/x62hp4), the grass meshes I am using have this weird noise over them when (and only when) moving the camera, especially when looked at from far away.

So far I failed to find the cause of it, but it is probably not related to:

a) Anti Aliasing (disabling didn’t remove the effect)

b) The used material (I switched modes around and also tried a very basic material and it was the exact same)

c) The mesh itself (the asset worked fine in another enviroment)

Since the project is using distance fields, I looked at the Distance Field AO and it looked really suspicious.  
As you can see [here](https://streamable.com/0368ck), the visualizer shows the same behavior as the noise. I also tried this with “working” meshes and it looked pretty smooth for them.

Does anyone know how I could fix this behavior?

Thanks in advance ^^

---

<div class="post-metadata">

**Author:** ![donzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@donzen](https://forums.unrealengine.com/u/donzen)\
**Post date:** [July 7, 2021, 12:12pm UTC](https://forums.unrealengine.com/t/foliage-distance-field-ao-problems/481332/2 "2021-07-07T12:12:47Z")

</div>

Hi, same here.

Did you find a solution?

---

<div class="post-metadata">

**Author:** ![MinnekraftFan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MinnekraftFan](https://forums.unrealengine.com/u/MinnekraftFan)\
**Post date:** [July 7, 2021, 12:38pm UTC](https://forums.unrealengine.com/t/foliage-distance-field-ao-problems/481332/3 "2021-07-07T12:38:31Z")

</div>

No, but I asked on the forums and got a few possible solutions.  
They didn’t work for me, but they might for you.

> [@Issues with grass meshes](https://forums.unrealengine.com/t/issues-with-grass-meshes/211436/7):
>
> The node is used in this video [[UE4: How to fix translucent materials (dithered opacity)] ](https://www.youtube.com/watch?v=ieHpTG_P8Q0) You just need to try the node. No extra code.

---

<div class="post-metadata">

**Author:** ![donzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@donzen](https://forums.unrealengine.com/u/donzen)\
**Post date:** [July 7, 2021, 3:39pm UTC](https://forums.unrealengine.com/t/foliage-distance-field-ao-problems/481332/4 "2021-07-07T15:39:09Z")

</div>

The best way I found is to play with the Skylight DFAO parameters.  
This setup works fine for me.

![343543-setup.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/5/8050217eba5178272eea06b529ff48d27fa1667a.jpeg)
