# Distance for drawing lightmaps build light

**URL:** <https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, Lighting, question\
**Created:** [September 13, 2023, 3:06am UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071 "2023-09-13T03:06:15Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 13, 2023, 3:06am UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/1 "2023-09-13T03:06:15Z")

</div>

![photo_2023-09-09_03-55-36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/6/ce6957aa624df22d4e407d8b32b1e72914f80c4e.jpeg)

 ![photo_2023-09-09_03-55-54](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/4/644fae8ec4115096f8a6e8d97a30fd3390298aca.jpeg)  
Hello everyone, my workshop colleagues and I encountered a problem with the range of drawing lightmaps when baking.  
I build scene on 5.0.3 using Luoshuang and also tried it using GPULightmass, in both cases the problem persisted.  
My colleague at the workshop has the same problem, he build scene the light at 5.2 using GPULightmass.

The essence of the problem is that when I move away from the object, the seam artifacts of the lightmaps are visible on it, but if I get closer, they disappear.

Virtual textures and streaming textures are disabled, the lightmaps of this object have a good scan. The resolution on the lightmap is high  
 ![photo_2023-09-09_03-55-36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/6/ce6957aa624df22d4e407d8b32b1e72914f80c4e.jpeg)

 ![photo_2023-09-09_03-55-54](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/4/644fae8ec4115096f8a6e8d97a30fd3390298aca.jpeg)

---

<div class="post-metadata">

**Author:** ![S-Dot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-dot/32/1194599_2.png) [@S-Dot](https://forums.unrealengine.com/u/S-Dot)\
**Post date:** [September 14, 2023, 3:07am UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/2 "2023-09-14T03:07:36Z")

</div>

Hi, can you post an image of the light map?

---

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 14, 2023, 11:10am UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/3 "2023-09-14T11:10:53Z")

</div>

Here is a light map similar in the unreal engine, and all other parts of the pillow are the same

 ![Screenshot_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/e/baece917a75847652b669757cffdfa9ad1e3b563.jpeg)

---

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 14, 2023, 11:11am UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/4 "2023-09-14T11:11:34Z")

</div>

![Screenshot_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/c/42c3f82dbbc8a8bacad5a3d312314c08b2ca8771.jpeg)

---

<div class="post-metadata">

**Author:** ![S-Dot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-dot/32/1194599_2.png) [@S-Dot](https://forums.unrealengine.com/u/S-Dot)\
**Post date:** [September 16, 2023, 11:54pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/5 "2023-09-16T23:54:35Z")

</div>

Can you show them in Unreal Editor? I think yours may overlap. Each UV island needs to be unique. You can’t use the same space for two different parts of the mesh, even if the UV is identical. Does that make sense?

Try what is shown in the image below. Create a 2nd UV set for lightmaps in the Build Settings of your mesh. Hit Apply. - You may need to change the Source Index to 1, depending which UV channel works better for the lightmap.

Then further down in the General Settings change the Lightmap Resolution to the same value as above (256) and the UV Coordinate Index (channel) to 1.

Then rebuild lighting and see how it looks.

 ![create lightmap uv2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/3/413fd96e108a16d4848dbc504a94161996712f08.jpeg)

---

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 17, 2023, 1:46pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/6 "2023-09-17T13:46:27Z")

</div>

![Screenshot_3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/4/184e5c6daf8551f3b7d7686fcc1e486582f60bc2.jpeg)

---

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 17, 2023, 1:47pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/7 "2023-09-17T13:47:17Z")

</div>

![Screenshot_4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/d/19ddf3e28a6dbdb1af80486a9f85ba65262de6fa.jpeg)

---

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 17, 2023, 1:48pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/8 "2023-09-17T13:48:45Z")

</div>

When I said that the lightmaps are identical, I meant that they are all of good quality. I uploaded screenshots of all maps of problematic geometry

---

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 17, 2023, 1:57pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/9 "2023-09-17T13:57:32Z")

</div>

I did everything as you and build scene, unfortunately the problem did not go away, when you move away the seams appear, but when you get closer they disappear

---

<div class="post-metadata">

**Author:** ![KaraevElmin1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karaevelmin1/32/884894_2.png) [@KaraevElmin1](https://forums.unrealengine.com/u/KaraevElmin1)\
**Post date:** [September 19, 2023, 9:30am UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/10 "2023-09-19T09:30:15Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/b/efbb691f8beef0c44f8a98c18c5acf5f48fc4b0e.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/9/5e931012a0c3698277d548ae15d37542a7eb5d2d.jpeg)  
I have the same problem. I haven’t found a solution.  
Maybe someone here can help us?

---

<div class="post-metadata">

**Author:** ![S-Dot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-dot/32/1194599_2.png) [@S-Dot](https://forums.unrealengine.com/u/S-Dot)\
**Post date:** [September 20, 2023, 7:51am UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/11 "2023-09-20T07:51:46Z")

</div>

It’s very difficult to diagnose those problems over the internet. It could be the mesh uvs, the mesh settings, the project settings, the lighting actors, the lightmass settings.

You need to narrow it down. Your uvs look ok. But you could attach the fbx file of the cushions and I can have a look.

You could also try to make a new project that is not based on a template, don’t change anything. Put a static light and your mesh in and build lighting with standard CPU lightmass. If that looks ok then start making changes to the project settings one by one. It will break at one point. That’s where the problem is.  
Unfortunately not every tutorial on the web is 100% correct.

---

<div class="post-metadata">

**Author:** ![meefia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@meefia](https://forums.unrealengine.com/u/meefia)\
**Post date:** [September 20, 2023, 5:04pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/12 "2023-09-20T17:04:35Z")

</div>

Thank you very much for your time  
I’ll try to fix it

---

<div class="post-metadata">

**Author:** ![Mohanaddandachli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mohanaddandachli](https://forums.unrealengine.com/u/Mohanaddandachli)\
**Post date:** [March 26, 2024, 3:31pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/13 "2024-03-26T15:31:07Z")

</div>

Hi Karev, Have you found the solution for it ? Thank you in advance

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [April 10, 2024, 5:05pm UTC](https://forums.unrealengine.com/t/distance-for-drawing-lightmaps-build-light/1293071/14 "2024-04-10T17:05:11Z")

</div>

Increase the screenpercentage to get rid of this issue.
