# shadow is not right

**URL:** <https://forums.unrealengine.com/t/shadow-is-not-right/47172>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [November 11, 2015, 1:30am UTC](https://forums.unrealengine.com/t/shadow-is-not-right/47172 "2015-11-11T01:30:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2ed9a8d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2ed9a8d5](https://forums.unrealengine.com/u/anonymous_user_2ed9a8d5)\
**Post date:** [November 11, 2015, 1:30am UTC](https://forums.unrealengine.com/t/shadow-is-not-right/47172/1 "2015-11-11T01:30:18Z")

</div>

Please help me the shadow is not right, lightmap resolution to 1024. im not sure because the shadow from the wall it looks correct but the shadow from the ground is wrong.

 ![11.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/4/744982e017cf01e340f425d7b6778bc1d15aa6d8.jpeg)

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [November 11, 2015, 2:35am UTC](https://forums.unrealengine.com/t/shadow-is-not-right/47172/2 "2015-11-11T02:35:00Z")

</div>

If the ground is BSP then you need to select that surface and reduce the number for the lightmap resolution. If it’s a static mesh, then make sure that the lightmap resolution setting your changing is for the actual lightmap and not the lightmap UV’s generation settings. You can also select the static mesh in the level and then use the lightmap resolution override. If it’s still too low resolution then you either need to improve your lightmap UV’s so that they utilize the UV space better or you need to split up the mesh so that it can use more lightmaps for the area.

---

<div class="post-metadata">

**Author:** ![heartlessphil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@heartlessphil](https://forums.unrealengine.com/u/heartlessphil)\
**Post date:** [November 11, 2015, 8:32am UTC](https://forums.unrealengine.com/t/shadow-is-not-right/47172/3 "2015-11-11T08:32:40Z")

</div>

It’s a very large floor, even for a 1024x1024 lightmap resolution. Usually my terrain consist of a single plane to make sure I use the most of my uv space!

---

<div class="post-metadata">

**Author:** ![cgiteach](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cgiteach/32/559818_2.png) [@cgiteach](https://forums.unrealengine.com/u/cgiteach)\
**Post date:** [November 11, 2015, 12:21pm UTC](https://forums.unrealengine.com/t/shadow-is-not-right/47172/4 "2015-11-11T12:21:17Z")

</div>

The reason why the shadow from the perimeter walls look good is that the direction of the shadow is parallel with the pixels in the lightmap. The diagonal shadows look bad because they’re not so the engine needs the draw a diagonal across what it seems to be far to few pixels. Count 1024 pixels from one side to another and you’ll see how much that is. Also, if you’re using a cube static mesh actor that’s a very poorly optimized way of handling a floor surface.

---

<div class="post-metadata">

**Author:** ![heartlessphil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@heartlessphil](https://forums.unrealengine.com/u/heartlessphil)\
**Post date:** [November 11, 2015, 12:59pm UTC](https://forums.unrealengine.com/t/shadow-is-not-right/47172/5 "2015-11-11T12:59:30Z")

</div>

It is probably for testing purpose tho, it’s the default scene.
