# LightMaps Edges appear Wrong, and uvs distort in hard edges

**URL:** <https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914>\
**Category:** Rendering\
**Tags:** uvs, uv, unreal-engine, Lightmap, Lighting, question\
**Created:** [September 2, 2024, 11:39am UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914 "2024-09-02T11:39:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fere201](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fere201](https://forums.unrealengine.com/u/Fere201)\
**Post date:** [September 2, 2024, 11:39am UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/1 "2024-09-02T11:39:32Z")

</div>

Hi there. I’m having some problems with the lightmaps on my scene, probably because the way i export the fbx from blender?

My current “worklow” is:

1. Making the scene in blender
2. Making 2 uvs maps (one for bridge textures and one for correct uvs)
3. exporting the fbx
4. importing into lvl in ue5
5. adjusting the correct uv coordinates and checking lightmap density

The thing is i get some weird density display errors and some distortion on some edges of the mesh.

Starting with the lightmaps:

 ![HighresScreenshot00006](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/0/4c05fe9ce28c7506061cd3eaa26a6b1df597aa5b.jpeg)  
 ![HighresScreenshot00007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/1/c61864241dd3f703f9b883a3292aaf2529a4fcf7.jpeg)  
 ![HighresScreenshot00008](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/4/5b4b40b9425cbed32d60e95983fb87ba7eec5ae9.jpeg)  
 ![UvsArmario](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/9/2b95c5d26d2444d82cdd44dce16f395a06eb1b4f.png)

Lightmap edges look highlighted with a strange density, but when selected they appear “correctly”. This happens with most of my meshes so i suppose it has something to do with my fbx export settings:

 ![Captura](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/0/2b0ba71aa8eba6a95931002e5353091d8ec71a72.png)

The other thing is that some meshes have distortion in their edges, even when they have their respective uv coordinates assigned and look good in blender.

 ![HighresScreenshot00003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/2/f727fd7b7000787d3412fe9f630f498190ad43d0.jpeg)  
 ![HighresScreenshot00004](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/e/64e79f62daf99d6ef88b746b3c8768385c03c61b.jpeg)  
 ![HighresScreenshot00005](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/7/66787cc121fdef9a21f955d59641b37292d9a0c0.jpeg)  
 ![BlenderEdge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/d/e7d1744556c3049fb8cae84acaf924f0d396616a.png)

Thanks in advance for any help and sorry for my bad english!

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2024, 12:44pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/2 "2024-09-02T12:44:58Z")

</div>

You might find you only need to get the UVs right in Blender, the engine can make pretty good lightmaps from that.

If you want to know if the UVs are good once the model is imported, just drop the world grid material on it ( not the demo level world aligned one ).

Are you specifically using static lighting? I’m just checking, because a lot of people miss the fact that with Lumen you don’t need to build light.

---

<div class="post-metadata">

**Author:** ![Fere201](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fere201](https://forums.unrealengine.com/u/Fere201)\
**Post date:** [September 2, 2024, 12:48pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/3 "2024-09-02T12:48:51Z")

</div>

Hi, the edges appear like that even when i use the uv coordinates that ue creates when importing.  
Yes i am using static lighting (disabled lumen in project settings etc)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2024, 12:50pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/4 "2024-09-02T12:50:50Z")

</div>

Can you show the corner with the default material?

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/f/11f473b1339e03dbefb26e290e93b23da602af5b.jpeg)

---

<div class="post-metadata">

**Author:** ![Fere201](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fere201](https://forums.unrealengine.com/u/Fere201)\
**Post date:** [September 2, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/5 "2024-09-02T13:06:52Z")

</div>

![HighresScreenshot00009](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/0/2a0078535dc48fd439d6b498b91d43fa233ceb9e.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2024, 1:17pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/6 "2024-09-02T13:17:21Z")

</div>

Yup, so it’s a UV problem 😉

And I don’t think there is a way to map UVs around a beveled corner.

Well, you can do, maybe 3 faces fine, but you going to have some ugly lines somewhere…

---

<div class="post-metadata">

**Author:** ![Fere201](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fere201](https://forums.unrealengine.com/u/Fere201)\
**Post date:** [September 2, 2024, 1:29pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/7 "2024-09-02T13:29:23Z")

</div>

Hi, i understand that the material error is an uv problem, the thing is that in blender it looks correctly without distortion and in ue5 it doesn’t.

 ![Capturauvs.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/8/c683502a2ad413d04bd66a7cfb1535399c502a29.jpeg)

Any idea about the lightmap edges?  
(thanks for the quick responses 😁)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2024, 1:31pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/8 "2024-09-02T13:31:06Z")

</div>

I’m not sure here. One I fix UVs in Blender, then they import ok to UE.

Can you show the uv map of this wall in Blender?

Once you sort the UV, the lightmap will fall in line.

---

<div class="post-metadata">

**Author:** ![IslandPlaya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandplaya/32/1194500_2.png) [@IslandPlaya](https://forums.unrealengine.com/u/IslandPlaya)\
**Post date:** [September 2, 2024, 1:38pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/9 "2024-09-02T13:38:51Z")

</div>

Try checking Use High Precision UV (or something) in the material/import options.  
This used to fix some similar artifacts for me in UE4.  
Good luck.

---

<div class="post-metadata">

**Author:** ![Fere201](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fere201](https://forums.unrealengine.com/u/Fere201)\
**Post date:** [September 2, 2024, 1:46pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/10 "2024-09-02T13:46:05Z")

</div>

![CapturaUvs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/2/f829071ae9ce4c3ee938a335e327fc1728f284e7.png)  
 ![uvs_wall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/2/312b4767d906941fa4ef256aa34403735b8ec38b.png)  
The texel density is 20.48 px/cm in a 2048 texture (to use later with bridge)

---

<div class="post-metadata">

**Author:** ![Fere201](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fere201](https://forums.unrealengine.com/u/Fere201)\
**Post date:** [September 2, 2024, 1:47pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/11 "2024-09-02T13:47:48Z")

</div>

Tried to, didn’t work, ty

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2024, 1:48pm UTC](https://forums.unrealengine.com/t/lightmaps-edges-appear-wrong-and-uvs-distort-in-hard-edges/2001914/12 "2024-09-02T13:48:59Z")

</div>

It’s hard to see, not the view I’m used to. Looks ok on the face of it.

If you want, you can upload an FBX here. Or PM me, and I’ll take a look 🙂 ( would be a bit later though… )
