# Why does enabling Ray Traced Distance Field Shadows do nothing?

**URL:** <https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [April 5, 2016, 1:56pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259 "2016-04-05T13:56:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [April 5, 2016, 1:56pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/1 "2016-04-05T13:56:12Z")

</div>

I have to be overlooking something simple here. I’ve enabled distance field shadows in the project settings, made sure everything is on dynamic lighting, etc, but when I turn them on or adjust them nothing happens. No shadows at all (also disregard my low fps, I know). Its the same with my ambient occlusion shadows on the skylight. Zero results. I’ve tried building the lighting, restarting the editor, and no jazz. Any help greatly appreciated.

 ![Screen Shot 2016-04-05 at 9.54.59 AM.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/2/f429f40670c7e1c1faac9e0cc150dfad152e5da1.jpeg)

---

<div class="post-metadata">

**Author:** ![pje](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pje](https://forums.unrealengine.com/u/pje)\
**Post date:** [April 5, 2016, 3:08pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/2 "2016-04-05T15:08:29Z")

</div>

For DFAO, is your skylight checked to ‘Cast Shadows’?

If your foliage has been painted with the foliage tool there’s a checkbox under the instance settings for each foliage type - ‘Affect Distance Field Shadows’ or something like that.

---

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [April 5, 2016, 4:10pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/3 "2016-04-05T16:10:44Z")

</div>

Yea I’ve turned that on. I’m using the procedural foliage tool, but I also manually dropped in a rock to check and still doesn’t work. I started a new project even to test and still doesn’t work.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_128d48a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_128d48a2](https://forums.unrealengine.com/u/anonymous_user_128d48a2)\
**Post date:** [April 7, 2016, 6:21am UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/4 "2016-04-07T06:21:58Z")

</div>

Settings\> Project Settings\> Rendering\> Generate Mesh Distance Fields

> **[Gyazo](https://gyazo.com/a608d93f54705a7007851e43ffa0a33c)**
>
> Gyazo is the easiest way to record screenshots & videos you can share instantly. Save time with async visual communication that's effortless and engaging.

---

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [April 7, 2016, 11:36am UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/5 "2016-04-07T11:36:06Z")

</div>

Already done 😕

---

<div class="post-metadata">

**Author:** ![KillingWord](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KillingWord](https://forums.unrealengine.com/u/KillingWord)\
**Post date:** [April 7, 2016, 11:38am UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/6 "2016-04-07T11:38:55Z")

</div>

light movable?

---

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [April 7, 2016, 11:49am UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/7 "2016-04-07T11:49:17Z")

</div>

Yup, and I’ve set “disable static lighting” to true, just in case. My cascade shadows are working fine, but I get 0 results from the ray cast lighting. Here are my directional light settings and one of my foliage settings.

 ![Screen Shot 2016-04-07 at 7.44.30 AM.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/a/ca81c0082b1c0c2b3ff2dd26595f5413c2f54c99.png) ![Screen Shot 2016-04-07 at 7.47.39 AM.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/1/f1bcf3f07d3dfd9e4ca50a2bbb4baf596e8db6ec.png) ![Screen Shot 2016-04-07 at 7.48.15 AM.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/8/d8f6d55dbd24d634c15636d0a5f6a1f401228dcc.png)

---

<div class="post-metadata">

**Author:** ![KillingWord](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KillingWord](https://forums.unrealengine.com/u/KillingWord)\
**Post date:** [April 7, 2016, 12:22pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/8 "2016-04-07T12:22:08Z")

</div>

i was also going to say that i usually set all cascade settings to 0, so only RTDFS is used.  
have you tried closing in on the objects? might be a range problem?

---

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [April 7, 2016, 1:31pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/9 "2016-04-07T13:31:51Z")

</div>

This is with cascades set to 0, I get no shadows:

 ![Screen Shot 2016-04-07 at 9.31.00 AM.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/6/3695fcc4000c1204784cb738cbdcdb6396eff05e.jpeg)

---

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [April 7, 2016, 1:36pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/10 "2016-04-07T13:36:14Z")

</div>

Problem solved. Doesn’t work on mac ☹[https://answers.unrealengine.com/questions/386775/raytraced-distancefield-shadows-on-mac-os-x.html](https://answers.unrealengine.com/questions/386775/raytraced-distancefield-shadows-on-mac-os-x.html)

---

<div class="post-metadata">

**Author:** ![KillingWord](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KillingWord](https://forums.unrealengine.com/u/KillingWord)\
**Post date:** [April 7, 2016, 2:24pm UTC](https://forums.unrealengine.com/t/why-does-enabling-ray-traced-distance-field-shadows-do-nothing/60259/11 "2016-04-07T14:24:48Z")

</div>

bummer man.
