# I've unwrapped UV and set lightmap coordinate index correctly, lightmap resolution is high enough, but object still get black after build light

**URL:** <https://forums.unrealengine.com/t/ive-unwrapped-uv-and-set-lightmap-coordinate-index-correctly-lightmap-resolution-is-high-enough-but-object-still-get-black-after-build-light/378027>\
**Category:** Rendering\
**Tags:** lighting-channels, unreal-engine, Lightmap, lighting-problem, question\
**Created:** [December 1, 2016, 5:29pm UTC](https://forums.unrealengine.com/t/ive-unwrapped-uv-and-set-lightmap-coordinate-index-correctly-lightmap-resolution-is-high-enough-but-object-still-get-black-after-build-light/378027 "2016-12-01T17:29:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![VictorCoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VictorCoo](https://forums.unrealengine.com/u/VictorCoo)\
**Post date:** [December 1, 2016, 5:29pm UTC](https://forums.unrealengine.com/t/ive-unwrapped-uv-and-set-lightmap-coordinate-index-correctly-lightmap-resolution-is-high-enough-but-object-still-get-black-after-build-light/378027/1 "2016-12-01T17:29:30Z")

</div>

Thank you guys.

I’m using UE ver 4.10

I’ve played two small project without such problem.

I’ve **unwrapped UV** and **set lightmap coordinate index correctly** ,

**lightmap resolution is high enough** , **light importance volume have been added** ,

_but object still get black after build light_.

- 

This problem has bothered me two days, I still can’t fix it…

Please help me T\_\_T

- 

Here is the file, objec have multiple UV channel, and 4 is the lightmap channel

max:  
[https://drive.google.com/open?id=0B1jpIDRXp0a-bUV4dDVqS2pKTE0](https://drive.google.com/open?id=0B1jpIDRXp0a-bUV4dDVqS2pKTE0)

fbx:  
[https://drive.google.com/open?id=0B1jpIDRXp0a-clM2RXhqM2FUYm8](https://drive.google.com/open?id=0B1jpIDRXp0a-clM2RXhqM2FUYm8)

 ![117085-p1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/d/30d1a474967d08a64c6931a3d33d0ba063dbed56.jpeg)

 ![117086-p2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/f/46f2733ff1b06e25099f0a499c718972e9c3a7d4.jpeg)

 ![117087-p3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/c/58ce1dcb7fa681424c8260fd82f59ed9cde53a80.jpeg)

---

<div class="post-metadata">

**Author:** ![VictorCoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VictorCoo](https://forums.unrealengine.com/u/VictorCoo)\
**Post date:** [December 3, 2016, 3:25am UTC](https://forums.unrealengine.com/t/ive-unwrapped-uv-and-set-lightmap-coordinate-index-correctly-lightmap-resolution-is-high-enough-but-object-still-get-black-after-build-light/378027/2 "2016-12-03T03:25:18Z")

</div>

I think I’ve found the the temp solution

Error message:

“Warning WallA01 has degenerate tangent bases which will result in incorrect shading.”

Here’s the youtube solution:

It seems like a bug, you just have to leave light map channel to a number that it shoud not...

---

<div class="post-metadata">

**Author:** ![VictorCoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VictorCoo](https://forums.unrealengine.com/u/VictorCoo)\
**Post date:** [December 3, 2016, 5:41am UTC](https://forums.unrealengine.com/t/ive-unwrapped-uv-and-set-lightmap-coordinate-index-correctly-lightmap-resolution-is-high-enough-but-object-still-get-black-after-build-light/378027/3 "2016-12-03T05:41:26Z")

</div>

it’s really weird, I unwrapped light map to channel 1, and set index to 1, then the build result has no problem.

---

<div class="post-metadata">

**Author:** ![presto423](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@presto423](https://forums.unrealengine.com/u/presto423)\
**Post date:** [June 28, 2020, 10:26am UTC](https://forums.unrealengine.com/t/ive-unwrapped-uv-and-set-lightmap-coordinate-index-correctly-lightmap-resolution-is-high-enough-but-object-still-get-black-after-build-light/378027/4 "2020-06-28T10:26:46Z")

</div>

I think this is because the 0 channel is the default for texture UVs. So it’s dark because it’s reading the lightmap UVs through the texture UV channel, which isn’t designed to process / interpolate lighting. Notice also in the screenshot it shows in the error report below that the UVs are wrapping and overlapping, which is how texture UVs are made in some cases, whereas lightmap UVs cannot be overlapping or wrapping past the 0-1 map space.
