# Baking shadows onto a 2DTilemap

**URL:** <https://forums.unrealengine.com/t/baking-shadows-onto-a-2dtilemap/476127>\
**Category:** Rendering\
**Tags:** shadow, no-shadows, unreal-engine, Lighting, question, baked\
**Created:** [December 21, 2020, 5:13am UTC](https://forums.unrealengine.com/t/baking-shadows-onto-a-2dtilemap/476127 "2020-12-21T05:13:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nukedboom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nukedboom](https://forums.unrealengine.com/u/Nukedboom)\
**Post date:** [December 21, 2020, 5:13am UTC](https://forums.unrealengine.com/t/baking-shadows-onto-a-2dtilemap/476127/1 "2020-12-21T05:13:45Z")

</div>

Hi there,

I recently picked up Unreal Engine and am having trouble baking shadows onto a 2DTilemap. I’m not even sure if it’s possible but this is what I have:

[https://i.imgur.com/fPpOCIy.png](https://i.imgur.com/fPpOCIy.png)

A material “LitSprite” that supports lighting and normal maps;

[https://i.imgur.com/f2ihrpc.jpeg](https://i.imgur.com/f2ihrpc.jpeg)

A cube, of which I disabled the Main Pass so I can get a shadow without the geometry of the tiles I want to block light and here’s where the problem comes in. The light is a stationary light and when I bake the lighting the shadow vanishes:

[https://i.imgur.com/1YTE18h.jpeg](https://i.imgur.com/1YTE18h.jpeg)

The cube is still there but there is no shadow, I know that the issue is that the tilemap is not having the shadow baked into it and not that the cube isn’t casting a shadow because I can see a baked in shadow when on another cube and making the source light dynamic as a ‘movable light’ also does the trick. How do I achieve the same effect without making the light a movable light as I cannot have too many of them in my scene?
