# Turn off Distance Field Ambient Occlusion for landscape only

**URL:** <https://forums.unrealengine.com/t/turn-off-distance-field-ambient-occlusion-for-landscape-only/390466>\
**Category:** Rendering\
**Tags:** distance-field-ambie, unreal-engine, Lighting, question\
**Created:** [April 10, 2017, 8:28am UTC](https://forums.unrealengine.com/t/turn-off-distance-field-ambient-occlusion-for-landscape-only/390466 "2017-04-10T08:28:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeevcat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jeevcat](https://forums.unrealengine.com/u/jeevcat)\
**Post date:** [April 10, 2017, 8:28am UTC](https://forums.unrealengine.com/t/turn-off-distance-field-ambient-occlusion-for-landscape-only/390466/1 "2017-04-10T08:28:30Z")

</div>

I would love to have Distance Field Ambient Occlusion enabled for our game, but at the moment it causes a dark line artefact around the landscape component. Please see the snow-covered mountains at the top of the attached images.

Is it possible to disable Distance Field Ambient Occlusion for landscape objects only? I can’t find a way to set the `DistanceFieldResolutionScale` to 0 on the landscape’s mesh.

**DFAO disabled:**

 ![133575-no%20dfao.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/e/7de486129354aca7693f88f0019c62d780b41754.png)

**DFAO enabled:**

 ![133576-dfao.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/9/d292e883ea6f127101799ec14b809414b738252e.png)

---

<div class="post-metadata">

**Author:** ![jeevcat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jeevcat](https://forums.unrealengine.com/u/jeevcat)\
**Post date:** [April 25, 2017, 12:53pm UTC](https://forums.unrealengine.com/t/turn-off-distance-field-ambient-occlusion-for-landscape-only/390466/2 "2017-04-25T12:53:40Z")

</div>

For anyone having similar issues, this question was posted on the UDN forums and they have made [an official issue in the bug tracker](https://issues.unrealengine.com/issue/UE-44247). Upvote for visibility!
