# Mesh Distance Fields completely black!?

**URL:** <https://forums.unrealengine.com/t/mesh-distance-fields-completely-black/454669>\
**Category:** Rendering\
**Tags:** distance-fields, unreal-engine, Lighting, question\
**Created:** [August 31, 2019, 3:25pm UTC](https://forums.unrealengine.com/t/mesh-distance-fields-completely-black/454669 "2019-08-31T15:25:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [August 31, 2019, 3:25pm UTC](https://forums.unrealengine.com/t/mesh-distance-fields-completely-black/454669/1 "2019-08-31T15:25:28Z")

</div>

> **[Mesh Distance Fields](https://docs.unrealengine.com/4.27/en-US/BuildingWorlds/LightingAndShadows/MeshDistanceFields/)**
>
> An overview of Mesh Distance Fields and its available features that you can use when developing your games.

I have enabled distance fields in the project. Scene Depth works as expected.  
I have even enabled 8bit mesh distance fields (thinking it would change something or at least force a recompile?)

Whenever I select the Visualize MeshDistance field everything is just black.  
I most definitely have meshes on the landscape, not only in terms of foliage.

Distance Field AO is also all black  
Global Distance Filed - all black  
Mesh Distance Field - all black

I’m on a GTX 1080 TI custom water cooled. a bit old, but not an Intel card that would have this disabled.

My biggest problem is that I think this is entirely related to Depth Fade not working in my materials.

Any ideas / things to look at / settings I can tweak to get this working right?

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [August 31, 2019, 3:36pm UTC](https://forums.unrealengine.com/t/mesh-distance-fields-completely-black/454669/2 "2019-08-31T15:36:55Z")

</div>

Before someone asks.  
Scalability is epic. Shader model 5 is enabled.

---

<div class="post-metadata">

**Author:** ![OguhstusQc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OguhstusQc](https://forums.unrealengine.com/u/OguhstusQc)\
**Post date:** [January 30, 2024, 3:30pm UTC](https://forums.unrealengine.com/t/mesh-distance-fields-completely-black/454669/3 "2024-01-30T15:30:31Z")

</div>

Did you find it? I have the same issue and I’m lost… I want to create a water shader with a shoreline around the objects in contact and I cant without this…
