# DFAO is completely black

**URL:** <https://forums.unrealengine.com/t/dfao-is-completely-black/347912>\
**Category:** Rendering\
**Tags:** distance-field-ambie, unreal-engine, bug-report, Lighting, question\
**Created:** [February 18, 2016, 10:01pm UTC](https://forums.unrealengine.com/t/dfao-is-completely-black/347912 "2016-02-18T22:01:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshezzell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshezzell](https://forums.unrealengine.com/u/joshezzell)\
**Post date:** [February 18, 2016, 10:01pm UTC](https://forums.unrealengine.com/t/dfao-is-completely-black/347912/1 "2016-02-18T22:01:48Z")

</div>

I have had this issue before, but only when meshes were under a landscape piece. You can see what is happening here: [http://grab.by/OeXG](http://grab.by/OeXG)

Is this a known limitation of DFAO. If it is, it makes the feature practically useless for open world projects with caves and other features that intersect with landscapes.

EDIT: I should note that if I delete the landscape the cave entrance is sitting on, the DFAO goes back to normal.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [February 22, 2016, 7:20pm UTC](https://forums.unrealengine.com/t/dfao-is-completely-black/347912/2 "2016-02-22T19:20:39Z")

</div>

Hi joshezzell -

The bug is still backlogged at the moment (UE-17667), but there is a workaround that comes at the cost of later optimizations that have come in for DFAO and Distance Fields in general.

This particular issue is caused by the Global Distance Field that is used to combine distance fields to make them more efficient. You can revert to the older method by using the CVar r.AOGlobalDistanceField 0

> [Distance Field AO is completely black underground - Rendering - Epic Developer Community Forums](https://answers.unrealengine.com/questions/247778/distance-field-ao-is-completely-black-underground.html)

Thank You -

Eric Ketchum
