# Can a dynamic object participate in shadow baking?

**URL:** <https://forums.unrealengine.com/t/can-a-dynamic-object-participate-in-shadow-baking/479924>\
**Category:** Rendering\
**Tags:** bake, Shadows, light, unreal-engine, dynamic, question\
**Created:** [March 8, 2021, 4:19pm UTC](https://forums.unrealengine.com/t/can-a-dynamic-object-participate-in-shadow-baking/479924 "2021-03-08T16:19:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_19ad0c26](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_19ad0c26](https://forums.unrealengine.com/u/anonymous_user_19ad0c26)\
**Post date:** [March 8, 2021, 4:19pm UTC](https://forums.unrealengine.com/t/can-a-dynamic-object-participate-in-shadow-baking/479924/1 "2021-03-08T16:19:17Z")

</div>

Hi there!  
I have a test scene here with a static room, static sky light and a dynamic door. As you can see, the dynamic door is not involved in baking static light and lets light into the room. Can this be avoided? I need the door to be dynamic, but to take part in the baking of static objects shadows and not let the light through.

I tried to change the Lightmap Type in Static Mesh settings from the ‘‘Default’’ to the ‘‘Force Surface’’, and then the door does not let light through, but another problem arises - as soon as I move the door, the shadows disappears from it completely.

 ![331816-01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/e/1de6beaf8dbbf70ead57dabc35fe7f531b34d0c6.jpeg)
