# Shadow on moveable or stationary mesh

**URL:** <https://forums.unrealengine.com/t/shadow-on-moveable-or-stationary-mesh/87824>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [March 16, 2017, 7:48pm UTC](https://forums.unrealengine.com/t/shadow-on-moveable-or-stationary-mesh/87824 "2017-03-16T19:48:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ffe10d05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ffe10d05](https://forums.unrealengine.com/u/anonymous_user_ffe10d05)\
**Post date:** [March 16, 2017, 7:48pm UTC](https://forums.unrealengine.com/t/shadow-on-moveable-or-stationary-mesh/87824/1 "2017-03-16T19:48:23Z")

</div>

Hello,

I have one directional light and one skylight. They are both static. I also have an mesh blueprint which enables users to change the mesh in game dynamically. However when I make the mesh stationary or moveable, I can’t get shadow on that mesh. If I make mesh static, I can get shadows but can’t change the mesh in game. By the way, It will be great If I can stay lights in static. What can I do? Thank You!  
[http://i.hizliresim.com/LyARba.png](https://forums.unrealengine.com/uploads/short-url/2UUegFVLXY8A5EkoLkrhpWPmPnP.jpeg)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/7/1473232c75e3348e2c6ed5ef3a5598887c2e9d91.jpeg)

---

<div class="post-metadata">

**Author:** ![Sam\_Deiter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sam_deiter/32/1064709_2.png) [@Sam\_Deiter](https://forums.unrealengine.com/u/Sam_Deiter)\
**Post date:** [March 16, 2017, 8:26pm UTC](https://forums.unrealengine.com/t/shadow-on-moveable-or-stationary-mesh/87824/2 "2017-03-16T20:26:07Z")

</div>

Try setting your directional light to Stationary. With it set to static you will not get any type of dynamic shadows AFAIK.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ffe10d05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ffe10d05](https://forums.unrealengine.com/u/anonymous_user_ffe10d05)\
**Post date:** [March 16, 2017, 9:02pm UTC](https://forums.unrealengine.com/t/shadow-on-moveable-or-stationary-mesh/87824/3 "2017-03-16T21:02:19Z")

</div>

When I open Distance Field Indirect Shadow option in mesh. I could get a shadow, but quality is so so poor.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ffe10d05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ffe10d05](https://forums.unrealengine.com/u/anonymous_user_ffe10d05)\
**Post date:** [March 17, 2017, 2:48pm UTC](https://forums.unrealengine.com/t/shadow-on-moveable-or-stationary-mesh/87824/4 "2017-03-17T14:48:08Z")

</div>

By the way, I also increase the resolution of distance field resolution scale. However, result is poor still.

---

<div class="post-metadata">

**Author:** ![Sam\_Deiter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sam_deiter/32/1064709_2.png) [@Sam\_Deiter](https://forums.unrealengine.com/u/Sam_Deiter)\
**Post date:** [March 17, 2017, 5:35pm UTC](https://forums.unrealengine.com/t/shadow-on-moveable-or-stationary-mesh/87824/5 "2017-03-17T17:35:51Z")

</div>

This could be a number of different things. If you have not done so already I would read up on how lighting on Mobile platforms works as it is quite different that lighting for PC games. If you check out the following link you can read more about what type of shadowing results you can expect on mobile.

> **[Mobile Rendering Features](https://docs.unrealengine.com/5.1/en-US/rendering-features-for-mobile-games-in-unreal-engine/)**
>
> Learn about Unreal Engine's mobile rendering path and its support for graphics features.

Once you have read that check out the following forum post where a UE4 Mobile dev shares how they got Dynamic Shadows & Correct Reflection Maps working on Mobile devices for their game Mega Blast.

> **[TIP: How to Enable Dynamic Shadows & Correct Reflection Maps on Mobile](https://forums.unrealengine.com/showthread.php?70511-TIP-How-to-Enable-Dynamic-Shadows-amp-Correct-Reflection-Maps-on-Mobile)**
>
> There are a lot of questions and not a lot of concrete answers swirling around about dynamic lighting on mobile. Here’s how we got it to work in Mega Blast: Anything that receives or casts shadows must use the\*\* Default Lit\*\* material shading...
