# Lightmap. Black lines appear where geometry is

**URL:** <https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356>\
**Category:** Rendering\
**Tags:** unreal-engine, Lightmap, question\
**Created:** [August 11, 2015, 9:04pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356 "2015-08-11T21:04:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c69a4d10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c69a4d10](https://forums.unrealengine.com/u/anonymous_user_c69a4d10)\
**Post date:** [August 11, 2015, 9:04pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/1 "2015-08-11T21:04:52Z")

</div>

Helloo so I’ve looked through a lot of the questions on lightmaps but nothing seems to work. I think I’ve set it up correctly. Second uv map, set to use lightmap coordinate 1, set to 128 resolution to test. I seem to be getting black lines where the geometry actually is. It’s all set to one smoothing group and the uvs for the highlighted section is all connected together so I’m all out of ideas and I can’t seem to find it on here. ☹

 ![53744-lightmap.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/3/d13044f30817db21dc8130a0e0e4f140902b8a85.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [August 14, 2015, 2:59pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/2 "2015-08-14T14:59:11Z")

</div>

Hello PsychicFreak,

If you would link me screenshots of your lightmaps, as well as your details window in UE4 of your geometry and where you are assigning your lightmaps.

Thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [August 17, 2015, 6:35pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/3 "2015-08-17T18:35:56Z")

</div>

Hello PsychicFreak,

I have not heard from you yet. I was wondering if you were still experiencing this issue?

Thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c69a4d10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c69a4d10](https://forums.unrealengine.com/u/anonymous_user_c69a4d10)\
**Post date:** [August 17, 2015, 7:11pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/4 "2015-08-17T19:11:43Z")

</div>

![54505-uvmap.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/3/82376f7081b86d3ce9f4e0d49095faa8d811b0a9.jpeg)

hi sorry. I’ve been away from home for the weekend.Here is my lightmap. It’s not final but I tried to follow the ‘rules’ as much as possible from the docs.

Is there a specific part of the details window you want to see? It’s pretty large so I’d have to crop a few screenshots together. Also, I have no idea where I’m assigning my lightmaps. Where could I find that information? I’m fairly new to unreal 4

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [August 17, 2015, 7:27pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/5 "2015-08-17T19:27:16Z")

</div>

Hello PsychicFreak,

It appears as if you have clean geometry and your lightmaps look fine.

If you would link me your .fbx then I can test this out within a test project.

It could be that the smoothing is causing this ore the seam you have in the middle of your geometry is causing this.

Thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c69a4d10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c69a4d10](https://forums.unrealengine.com/u/anonymous_user_c69a4d10)\
**Post date:** [August 17, 2015, 7:34pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/6 "2015-08-17T19:34:50Z")

</div>

hi here’s the fbx. [Dropbox - Error - Simplify your life](https://www.dropbox.com/s/7m2bzicyrjtdydj/urinal1.fbx?dl=0)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [August 17, 2015, 7:55pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/7 "2015-08-17T19:55:02Z")

</div>

Hi PsychicFreak,

I was able to reproduce this issue in UE4.

I am going to link you our lighting troubleshooting guide as well as a guide that gives a great, in-depth, explanation on how to set up lightmaps for UE4 and how they are intended to work.

Link to Troubleshoot :

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Link to Light Maps,

> **[Understanding Lightmapping in Unreal Engine](https://docs.unrealengine.com/5.1/en-US/understanding-lightmapping-in-unreal-engine/)**
>
> Techniques and guidelines for setting up lightmap UVs for Static Meshes.

There are a few things you can do to increase the calculation of your lightmaps.

1.) Min Lightmap Resolution,  
2.) Engine Scalability Settings,  
3.) Amount of Illumination on the object.  
4.) Project Settings \> Rendering \> Generate Mesh Distance Fields

Have a look at the documentation and try and see if any of these are a viable solution to your project.

Thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c69a4d10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c69a4d10](https://forums.unrealengine.com/u/anonymous_user_c69a4d10)\
**Post date:** [August 17, 2015, 8:08pm UTC](https://forums.unrealengine.com/t/lightmap-black-lines-appear-where-geometry-is/328356/8 "2015-08-17T20:08:21Z")

</div>

Cheers. That gives me a good starting point. Thanks for looking 🙂
