# What is a lightmap and how is it different from a texture map?

**URL:** <https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [January 18, 2016, 12:22am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719 "2016-01-18T00:22:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [January 18, 2016, 12:22am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/1 "2016-01-18T00:22:40Z")

</div>

I’m familiar with UV’s and I’m using Blender and Substance Painter and Designer, but I’m super new at this and keep seeing people talking about using different UV’s for a lightmap. Could someone explain what this is and how to make one? Thanks!

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [January 18, 2016, 12:37am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/2 "2016-01-18T00:37:00Z")

</div>

A light map stores lighting formation for an object via a texture. Light map UVs have to be unique, and not overlap, but UE4 will generate one for you based off your existing UVs. But you can provide your own lightmap UVs if you wish, normally it’s mostly useful for meshes like a floor where most of the lighting information is on one side of the mesh. If you are using completely dynamic lighting, you don’t need lightmaps or UVs for it. But baked lighting is typically better looking and has minimal performance impact, as long as you can deal with render times and it being more static.

---

<div class="post-metadata">

**Author:** ![mcgillchris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcgillchris](https://forums.unrealengine.com/u/mcgillchris)\
**Post date:** [January 18, 2016, 12:59am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/3 "2016-01-18T00:59:16Z")

</div>

Thanks! So it’s primarily used for environments and optimization?

---

<div class="post-metadata">

**Author:** ![KVogler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KVogler](https://forums.unrealengine.com/u/KVogler)\
**Post date:** [January 18, 2016, 1:02am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/4 "2016-01-18T01:02:22Z")

</div>

It is used to store information about the lighting level.  
In simple terms, think of a grayscale “texture” that is multiplied with your diffuse image texture.  
Thats also a reason why lightmap UVs may not overlap.

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [January 18, 2016, 1:04am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/5 "2016-01-18T01:04:01Z")

</div>

Yup, it’s used on anything static. It’s definitely gives the best performance out of any modern lighting technique, and just look at some of the architectural visualization projects people have made with UE4 to see the quality that can be achieved. A lot of artists and developers are hoping we’ll move past it eventually, but it’s here to stay for a while longer.

---

<div class="post-metadata">

**Author:** ![macoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@macoll](https://forums.unrealengine.com/u/macoll)\
**Post date:** [January 18, 2016, 10:05am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/6 "2016-01-18T10:05:22Z")

</div>

> [@ZacD;455910](#):
>
> A lot of artists and developers are hoping we’ll move past it eventually, but it’s here to stay for a while longer.

Well, the only reason why the UE engine still uses lightmap is because of the ‘consoles’ limitations…😉

---

<div class="post-metadata">

**Author:** ![HiIAmMoot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HiIAmMoot](https://forums.unrealengine.com/u/HiIAmMoot)\
**Post date:** [January 18, 2016, 11:10am UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/7 "2016-01-18T11:10:43Z")

</div>

And for mid end PCs.

---

<div class="post-metadata">

**Author:** ![Colorado](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Colorado](https://forums.unrealengine.com/u/Colorado)\
**Post date:** [January 18, 2016, 3:46pm UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/8 "2016-01-18T15:46:55Z")

</div>

Yes what everybody else said. And they really make a scene look much better.  
These are my observations from working with lightmaps for the last few years:

Lightmaps for static meshes are often really small. I MEAN **REALLY SMALL** like 32x32 or 64x64

if you have a modular mesh that shows up in a level 500 times each light map is going to be a separate texture file  
so if you set your light map to 512x512 resolution. It will be like adding 500 new 512 textures to the game.  
Bloody Expensive!!!  
You will want to keep that light map really tiny or it will take up a huge amount of resources.

I am sure you are aware that It is hard to make anything look good on a 32x32 map.  
Now think about the pixelation that will occur with a complex asset unwrapped on a 32x32 map.  
If you use an automatic unwrapping tool like the one in Max to make the UV’s unique you are going to have a Disastrous light map.  
The one in UE4 is slightly better. but only slightly.

If you want it done the right way you are going to have to do it yourself.  
Ideally you want as few UV Islands as possible.  
I like Unwrapping tools that use Pelting techniques to keep one big surface together.

Another consideration for light maps is very large detailed meshes.  
if there isn’t much detail it might be OK.  
But if there is a lot of detail like a building with architectural details  
and it is one mesh, with tiling textures  
This will be a lighting disaster!!! The light map will just kill it.  
unless it has an impossible texture resolution of like 32000 x 32000

the ideal way to plan for light maps is keeping your mesh sizes limited to no more than about 500 units  
and modular. And keeping your light map UV channels with as few islands as possible  
A level built this way will get the optimal benefit from light mapping

---

<div class="post-metadata">

**Author:** ![KVogler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KVogler](https://forums.unrealengine.com/u/KVogler)\
**Post date:** [January 18, 2016, 5:04pm UTC](https://forums.unrealengine.com/t/what-is-a-lightmap-and-how-is-it-different-from-a-texture-map/52719/9 "2016-01-18T17:04:52Z")

</div>

> [@](#):
>
> if you have a modular mesh that shows up in a level 500 times

At that point it might become resonable to use mesh LODs which can have then lower resolutions again for distant instances…
