# Seams and weird shadows in Modular Meshes

**URL:** <https://forums.unrealengine.com/t/seams-and-weird-shadows-in-modular-meshes/377963>\
**Category:** Rendering\
**Tags:** Shadows, seams, unreal-engine, Lightmap, Lighting, question\
**Created:** [November 30, 2016, 10:42pm UTC](https://forums.unrealengine.com/t/seams-and-weird-shadows-in-modular-meshes/377963 "2016-11-30T22:42:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8177c2b71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8177c2b71](https://forums.unrealengine.com/u/anonymous_user_8177c2b71)\
**Post date:** [November 30, 2016, 10:42pm UTC](https://forums.unrealengine.com/t/seams-and-weird-shadows-in-modular-meshes/377963/1 "2016-11-30T22:42:56Z")

</div>

Hi, I have some issues with shadows and seams between modular meshes. I’ve gone through some answers and adjusted my UV’s to have at least 2px spacing between each UV island and that the UV’s are snapped on grid.

 ![116966-screenshot00002.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/8/41890271fe6e496f031b7ec25a36511a91ef2b4c.png)

 ![116968-screenshot00004.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/3/d139940e5049527a0ceea27384afe67e22dbdffe.png)

 ![116970-screenshot00003.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/9/a393aa07863f2b17120115823bfebacf73d0765b.png)

 ![116965-lightmap+uv+for+wall.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/5/0c588940f88d795bbfddff3027a2a988a5e9c7de.jpeg)

These screenshots are with  
Static lighting level 1.0  
Indirect lighting quality 1.0  
Indirect lighting smoothness 1.0

Adjusting these to  
Static lighting level 1.0  
Indirect lighting quality 2.0  
Indirect lighting smoothness 0.6

Makes the shadows more wavy and the seams to be much less but I cannot eliminate them and the trade-off for bad shadows for less seams seems to be a bad way to proceed.

Decreasing the Static lighting level to 0.1 makes it even worse

Lightmap resolution for the meshes are 64, increasing them also gives me the same result

This links shows that modular building is possible

> **[Lighting issue -\> shadow issue on edge of meshes](https://forums.unrealengine.com/showthread.php?73442-Lighting-issue-gt-shadow-issue-on-edge-of-meshes)**
>
> Sorry for another light issue topic 🙁 The situation: I have 2 copies of a mesh(a wall). I have assigned the same material to them. The lightmap resolution is the default value: 64. After building the lightmap on production quality I see a line(I...

There are some other threads which states that it is not possible because each mesh is rendered on a different thread causing the seams.  
Ref to that : [How to fix blocky shadows across modular walls? - Rendering - Epic Developer Community Forums](https://answers.unrealengine.com/questions/62360/how-to-fix-blocky-shadows-across-modular-walls.html)

How do I fix these issues ?

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [December 1, 2016, 3:55pm UTC](https://forums.unrealengine.com/t/seams-and-weird-shadows-in-modular-meshes/377963/2 "2016-12-01T15:55:41Z")

</div>

Hi Switchblade,

I’ve covered the shading issue you see between modular pieces here on my Lighting Wiki guide: [A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums](https://wiki.unrealengine.com/LightingTroubleshootingGuide#Shadow_Seams.2FShading_Differences_with_Indirect_Lighting)

This guide includes some tips for getting rid of the issue. Ultimately, for something like your wall you would be better to use a single mesh for the wall or other geometry to cover these seams. Sometimes over-modularizing your scene is not the best option and just increases draw-calls that need to be performed and gives you results like this. Hopefully, we can fix this in the future and this won’t be an issue, but as far as I’m aware there are no plans at the moment.

The wavy shadows are due to low lightmap resolution.

-Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8177c2b71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8177c2b71](https://forums.unrealengine.com/u/anonymous_user_8177c2b71)\
**Post date:** [December 2, 2016, 12:36am UTC](https://forums.unrealengine.com/t/seams-and-weird-shadows-in-modular-meshes/377963/3 "2016-12-02T00:36:24Z")

</div>

Thanks Tim, I’ve gone through your guide and found it really useful. Can you give me any reference videos to where using other geometry between the seams would solve the case ? And by doing so can I still follow the methods used by bethesda studios in their modular level creation (ref : [Joel Burgess: Skyrim's Modular Level Design - GDC 2013 Transcript](http://blog.joelburgess.com/2013/04/skyrims-modular-level-design-gdc-2013.html) )

---

<div class="post-metadata">

**Author:** ![vycanis1801](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vycanis1801](https://forums.unrealengine.com/u/vycanis1801)\
**Post date:** [November 9, 2020, 6:04pm UTC](https://forums.unrealengine.com/t/seams-and-weird-shadows-in-modular-meshes/377963/4 "2020-11-09T18:04:43Z")

</div>

I know it’s been five years but Tim, do you have a back up of that article? The new wiki only seems to have saved like 10% of the old article.
