# Landscape tiles align perfectly, yet dynamic light creates visible seams along edges of all tiles

**URL:** <https://forums.unrealengine.com/t/landscape-tiles-align-perfectly-yet-dynamic-light-creates-visible-seams-along-edges-of-all-tiles/101453>\
**Category:** World Creation\
**Tags:** unreal-engine, Landscape\
**Created:** [October 18, 2017, 8:41pm UTC](https://forums.unrealengine.com/t/landscape-tiles-align-perfectly-yet-dynamic-light-creates-visible-seams-along-edges-of-all-tiles/101453 "2017-10-18T20:41:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RabbitHoleAvert](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RabbitHoleAvert](https://forums.unrealengine.com/u/RabbitHoleAvert)\
**Post date:** [October 18, 2017, 8:41pm UTC](https://forums.unrealengine.com/t/landscape-tiles-align-perfectly-yet-dynamic-light-creates-visible-seams-along-edges-of-all-tiles/101453/1 "2017-10-18T20:41:13Z")

</div>

I’ve googled until all the links are purple without success, hoping someone can help with this:

I have World Composition combining my landscape tiles (imported from heightmap file from photoshop), which is working perfectly in that the landscape wireframe aligns exactly and seamlessly. However (dynamic directional) light sources incorrectly light the row of faces along the edges of landscape tiles, creating very visible seams where tiles meet.

The landscape follows [the size recommendation in the UE4 documentation here](https://docs.unrealengine.com/latest/INT/Engine/Landscape/TechnicalGuide/index.html#recommendedlandscapesizes) (505x505).

It looks kind of like normal-mapping gone astray on the final row of verts.  
Also similar to normals going askew, if I put a world-aligned-blend texture on it, the texture is blended incorrectly at the edges (the blend acts as if those faces are facing a different direction from the direction they are actually facing, similar to how the light is reflecting as if they are facing different direction)

I’m under the impression that because the landscape comes from a 16bit heightmap, there can’t be normals defined in the heightmap, or anything else I could be doing wrong in the heightmap. (The landscape aligns once imported so the problem presumably has to be in UE4)

Google reveals a ton of examples of other edge-related problems, but I haven’t been able to find any solutions or best-practices that address this one.  
Using a smoothing brush (set to 0) along the edges noticeably reduced some of the error, but I won’t be able to do that for production and it didn’t actually solve the problem, just reduced it.

Below, the intersection of three landscape tiles, no texture, shows the dynamic light acting differently at the edges, making visible seams on geometry that has no such change in angle:  
 ![seams1.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/8/e86da131d826373dc23ec8801f3b88b9b630212e.jpeg)

The closeup of the landscape wireframe (grey) also confirms the faces of all three landscape tiles align properly and are not at a different angle that should be lit differently from the surrounding surface.  
 ![seams2.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/a/5aa3947625fb9a0bdc2e7e13d5d0b7f58e8a1c84.jpeg)

Is there something I’m missing?  
Any help appreciated! Thanks!

---

<div class="post-metadata">

**Author:** ![RabbitHoleAvert](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RabbitHoleAvert](https://forums.unrealengine.com/u/RabbitHoleAvert)\
**Post date:** [October 19, 2017, 3:01pm UTC](https://forums.unrealengine.com/t/landscape-tiles-align-perfectly-yet-dynamic-light-creates-visible-seams-along-edges-of-all-tiles/101453/2 "2017-10-19T15:01:07Z")

</div>

Solved! Finding no way to fix the normals yet knowing there are games that have not faced the issue, I knew there had to be something different in my workflow, and I eventually traced the problem to what appears to be a limitation or bug in the editor:

The solution is to never use the “_Import from File_” option in the Heightmap _Layer Actions_ menu (below) to import a heightmap file; it results in the bad normals along the edges of the landscape  
 ![menuculprit.jpg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

At this time (v4.17) the safest way to import a heightmap file seems to be to do it from the \ ***New Landscape** \*menu via the “_Import from File_” option there.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_de23abbb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_de23abbb](https://forums.unrealengine.com/u/anonymous_user_de23abbb)\
**Post date:** [February 26, 2018, 12:44am UTC](https://forums.unrealengine.com/t/landscape-tiles-align-perfectly-yet-dynamic-light-creates-visible-seams-along-edges-of-all-tiles/101453/3 "2018-02-26T00:44:37Z")

</div>

Thanks for the fix . Had the same problem here.

---

<div class="post-metadata">

**Author:** ![duke22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duke22](https://forums.unrealengine.com/u/duke22)\
**Post date:** [April 4, 2018, 6:24am UTC](https://forums.unrealengine.com/t/landscape-tiles-align-perfectly-yet-dynamic-light-creates-visible-seams-along-edges-of-all-tiles/101453/4 "2018-04-04T06:24:00Z")

</div>

I’m having the same problem and I just trawled through the code where this should occur and theres nothing about fixing seams.

edit: Having said that, I see where and how its setting the normals, so its just a matter of accounting for neighbours and overriding this calculation.

---

<div class="post-metadata">

**Author:** ![MoP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MoP](https://forums.unrealengine.com/u/MoP)\
**Post date:** [July 26, 2019, 9:46am UTC](https://forums.unrealengine.com/t/landscape-tiles-align-perfectly-yet-dynamic-light-creates-visible-seams-along-edges-of-all-tiles/101453/5 "2019-07-26T09:46:51Z")

</div>

> [@RabbitHoleAvert](#):
>
> At this time (v4.17) the safest way to import a heightmap file seems to be to do it from the \ ***New Landscape** \*menu via the “_Import from File_” option there.

Interestingly, we have run into the exact same issue (incorrect vertex normals along Landscape tile edges) even after using the **New Landscape** workflow in UE 4.22.

At least the workaround proposed by Epic in a different thread (which is to use a Smooth brush with a strength of 0 on the entire Landscape, which seems to force the normals to be recalculated correctly, even across tiles) does seem to work and appears to hold up even after reimporting modified landscape tile heightmaps. So that’s something.

Still, it seems like this should be fixable at import time assuming the neighboring tiles are loaded, so this probably remains a bug.
