# Lets create a complex lightmap - Open discussion

**URL:** <https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [April 29, 2016, 12:13pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485 "2016-04-29T12:13:35Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [May 5, 2016, 10:21pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/21 "2016-05-05T22:21:42Z")

</div>

> [@darthviper107;525230](#):
>
> It’s actually not an issue to increase the intensity of a normal map or layer multiple ones, games do that all the time.

Depends on if you are doing a sync’d normal map workflow are not. If it’s a sync’d bake from a high poly model you should never mess with it, beyond layering details. If it’s a tiling normal map you can really do anything you want.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5ed114a5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5ed114a5](https://forums.unrealengine.com/u/anonymous_user_5ed114a5)\
**Post date:** [May 6, 2016, 7:47am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/22 "2016-05-06T07:47:32Z")

</div>

Hey ,

If you have any free time, can you explain us your method step by step? Maybe with printscreen pictures? Your results are amazing and i’m sure you will help lots of people about the lightmap problem.

---

<div class="post-metadata">

**Author:** ![Hainzgrimmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hainzgrimmer](https://forums.unrealengine.com/u/Hainzgrimmer)\
**Post date:** [May 6, 2016, 9:48am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/23 "2016-05-06T09:48:06Z")

</div>

> [@ZacD;525106](#):
>
> A properly baked normal map should never be multiplied or adjusted besides layering or adding additional texture or details, you should never try to decrease or increase the intensity after a bake. I baked the texture with Substance Painter, just because it’s quick and easy and I could easily add a fabric texture or add details. But I’d also recommend using xNormal because it’s free, but the interface is a bit awkward. My guess for the intensity issue is either there’s an issue with how your are baking, or UE4 isn’t processing your normal map as a normal map, make sure the normal map looks blue in the material editor.
> 
> Honestly remodeling for UE4 isn’t too hard, and sometimes it is easier making a new model and UVing it for UE4 than trying to work around lightmap errors, making good UVs for lightmaps/UE4 with a high poly model, and long bake times. Plus better performance if you are doing real time stuff. I might be weird but I actually enjoy the process, wish I could make money doing it.

well now we are trying blender or xNormal but their normal maps seem the same; I’ve never understood the difference between the three substance softwares (designer, painter and b2m): could you explain me? I’ve found online a software called Awesomebump (it’s open source) but at first try I don’t like the results is giving me!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5ab72736](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5ab72736](https://forums.unrealengine.com/u/anonymous_user_5ab72736)\
**Post date:** [May 6, 2016, 11:55am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/24 "2016-05-06T11:55:53Z")

</div>

Hey ,

If you have any free time, can you explain us your method step by step? Maybe with printscreen pictures? Your results are amazing and i’m sure you will help lots of people about the lightmap problem.

100x times this!!  
There’s a lot of lingo here that I don’t fully understand until I do it step by step… I know it’s alot to ask, but this would be a huge help to upcomers such as myself. And I’ve been using Max for 6 months now!

---

<div class="post-metadata">

**Author:** ![heartlessphil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@heartlessphil](https://forums.unrealengine.com/u/heartlessphil)\
**Post date:** [May 6, 2016, 1:04pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/25 "2016-05-06T13:04:43Z")

</div>

I’m sure there are tons of tutorials for high poly to low poly normal baking on youtube! It’s a technique used in like every modern games nowadays!

Start with Allegorithmic’s youtube channel. They have a lot of tutorials.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/c/23c0e0fc3a9ec5ac403ac004670569901fe2f4af.jpeg "Substance Painter Tutorial – Fundamentals 05: Baking textures") ](https://www.youtube.com/watch?v=ePnLTuzRAbg)

---

<div class="post-metadata">

**Author:** ![Hainzgrimmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hainzgrimmer](https://forums.unrealengine.com/u/Hainzgrimmer)\
**Post date:** [May 6, 2016, 3:33pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/26 "2016-05-06T15:33:18Z")

</div>

![a425f2f5c8935ae0a5444bd2d14fc4c78850bbdb.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)  
 ![16de9b7052c41d7f8e09aed4833fd46d5087dcaa.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

ok that’s my trial with all the pillows in a single fbx:

- 28896 triangles
- lightmap set at 2048 (I tried even with 1024 and was really the same)
- normal map is a 4096 jpg  
 ![4791c84c90886968b3eaa675af2a13fd18a59b63.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

and this is a detail of the normal map of a single pillow  
 ![d247de0482ddda9e48ac2c3a29363ebf8612cfc7.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

material is really a simple one (medium grey, 0.5 roughness , 0 metallic)  
light setting the same of my first opening post

WAY better but I’m starting to think that Substance has a greater performance: I’ve made all with Blender, because when I had to create the normalmap I’ve found a way to bake it in a single map, but setting for every pillow its high poly model, its low poly one and its cage; in x-normal I haven’t found a similar way to do it, so practically I would have to make a normal map for every pillow and then join all in one through photoshop!

---

<div class="post-metadata">

**Author:** ![Icchansan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Icchansan](https://forums.unrealengine.com/u/Icchansan)\
**Post date:** [May 6, 2016, 4:36pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/27 "2016-05-06T16:36:36Z")

</div>

Great info Hainz, can you explain with video or screenshots your method with blender?

---

<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:** [May 6, 2016, 8:00pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/28 "2016-05-06T20:00:52Z")

</div>

Here’s a quick guide of how it’s done, might make a video in the future but was short on time.

Images in album: [http://imgur.com/a/PNuMq](http://imgur.com/a/PNuMq)

1. Get your model.
2. Explode it into the simplest pieces.
3. Create the low poly parts.
4. Reuse stuff if possible to save time. (Note I did not use enough geometry for the side arms of the couch, look at picture 25 and you’ll see the issue. This could of been easily fixed by starting with more geometry along where the bars would go. I did not have this issue the first time in the above posts because I checked before putting the asset in the engine.
5. Shrink wrap
6. Relax just a bit so the geometry isn’t too tight or almost over lapping.
7. We are just unwrapping cubes here, it’s pretty simple, put a seam on every corner edge, and then remove 5 that would be in obvious places. That will help hide any tiling you do with a fabric detail texture.
8. Done unwrapping the 8 cushions.
9. Make sure it’s one smoothing group and there’s no hard edges. (Experience artists may want to put hard edges on UV seams, it can reduce artifacts on certain assets, but isn’t needed here).
10. No more hard edges.
11. Since we are using xNormal it’s best to use a cage along with the baking process, artists on Polycount have found Substance Designer/Painter do an amazing job even without cages, but I’d always suggest one if using xNormal).
12. To create a cage you take the low poly model and push it past the over lapping high poly model.
13. Make sure the high poly does not stick through the lowpoly anywhere. If it does, no detail will be baked there.
14. Triangulate and export. Also I cannot spell. Also make sure you are exporting the normals
15. Make sure this setting is checked in the plug-in settings, click the plug to get to these settings.
16. Import the high poly, low poly, and cage.
17. Where you add the cage.
18. Make sure Y- for UE4
19. Bake.
20. Recombine mesh and export for UE4.
21. Import normals and tangents.
22. Make sure the normal map imported as a normal map (it should if it has normal or \_n in the name, you don’t have to do this ever time, but it’s good to double check if it’s your first time).
23. Create a material, I added a cavity map for AO, it adds a bit of extra shadowing on the wrinkles in indirect light. The multiple is there to adjust the strength.
24. You can check the light map UVs and make sure they look good. Set the light map resolution to 512.
25. Bake lighting and your done, this is showing the issue mentioned on step 4. The metal does not have any light map UVs so it’s completely black from the baked lighting. Didn’t have enough time to explain how to unwrap that.
26. Close up
27. Distance

---

<div class="post-metadata">

**Author:** ![drlamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@drlamer](https://forums.unrealengine.com/u/drlamer)\
**Post date:** [May 7, 2016, 12:00am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/29 "2016-05-07T00:00:02Z")

</div>

nice workflow

please a video Tutorial will be highly appreciated  
sketchup-\>ue4

thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5ab72736](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5ab72736](https://forums.unrealengine.com/u/anonymous_user_5ab72736)\
**Post date:** [May 7, 2016, 12:06am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/30 "2016-05-07T00:06:11Z")

</div>

> [@ZacD;525733](#):
>
> Here’s a quick guide of how it’s done, might make a video in the future but was short on time.
> 
> Images in album: [Guide for making and baking low poly for UE4 - Album on Imgur](http://imgur.com/a/PNuMq)
> 
> 1. Get your model.
> 2. Explode it into the simplest pieces.
> 3. Create the low poly parts.
> 4. Reuse stuff if possible to save time. (Note I did not use enough geometry for the side arms of the couch, look at picture 25 and you’ll see the issue. This could of been easily fixed by starting with more geometry along where the bars would go. I did not have this issue the first time in the above posts because I checked before putting the asset in the engine.
> 5. Shrink wrap
> 6. Relax just a bit so the geometry isn’t too tight or almost over lapping.
> 7. We are just unwrapping cubes here, it’s pretty simple, put a seam on every corner edge, and then remove 5 that would be in obvious places. That will help hide any tiling you do with a fabric detail texture.
> 8. Done unwrapping the 8 cushions.
> 9. Make sure it’s one smoothing group and there’s no hard edges. (Experience artists may want to put hard edges on UV seams, it can reduce artifacts on certain assets, but isn’t needed here).
> 10. No more hard edges.
> 11. Since we are using xNormal it’s best to use a cage along with the baking process, artists on Polycount have found Substance Designer/Painter do an amazing job even without cages, but I’d always suggest one if using xNormal).
> 12. To create a cage you take the low poly model and push it past the over lapping high poly model.
> 13. Make sure the high poly does not stick through the lowpoly anywhere. If it does, no detail will be baked there.
> 14. Triangulate and export. Also I cannot spell. Also make sure you are exporting the normals
> 15. Make sure this setting is checked in the plug-in settings, click the plug to get to these settings.
> 16. Import the high poly, low poly, and cage.
> 17. Where you add the cage.
> 18. Make sure Y- for UE4
> 19. Bake.
> 20. Recombine mesh and export for UE4.
> 21. Import normals and tangents.
> 22. Make sure the normal map imported as a normal map (it should if it has normal or \_n in the name, you don’t have to do this ever time, but it’s good to double check if it’s your first time).
> 23. Create a material, I added a cavity map for AO, it adds a bit of extra shadowing on the wrinkles in indirect light. The multiple is there to adjust the strength.
> 24. You can check the light map UVs and make sure they look good. Set the light map resolution to 512.
> 25. Bake lighting and your done, this is showing the issue mentioned on step 4. The metal does not have any light map UVs so it’s completely black from the baked lighting. Didn’t have enough time to explain how to unwrap that.
> 26. Close up
> 27. Distance

Ok now I’m getting it.

Let’s try something a little more complex. Something like this: [https://www.designconnected.com/Lighting/Pendant-lights/Pendant-lamp\_p2233](https://www.designconnected.com/Lighting/Pendant-lights/Pendant-lamp_p2233)

(FREE DOWNLOAD)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/2/6a235a58dfc42206916ca8b35e783236777c172c.gif)  
So far, this is about as good as I can get the model’s UVW unwrapped. And I’ve spent about 2 hours on it. Everytime you try and sticth the smaller pieces together - they distort due to the curved geometry of the element.  
How would you approach something like this?

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/b/eebbaad49a1fe0b53ea4d8655c763c3d55453d6e.gif)

---

<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:** [May 7, 2016, 12:37am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/31 "2016-05-07T00:37:44Z")

</div>

I would use an opacity mask for something with that many bars.

---

<div class="post-metadata">

**Author:** ![heartlessphil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@heartlessphil](https://forums.unrealengine.com/u/heartlessphil)\
**Post date:** [May 7, 2016, 5:26am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/32 "2016-05-07T05:26:37Z")

</div>

I’m gonna have to spend more time learning normal map baking because your couch looks amazing ZacD! It’s also an intelligent way to make assets performance-wise!

And thanks for sharing your workflow.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5ed114a5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5ed114a5](https://forums.unrealengine.com/u/anonymous_user_5ed114a5)\
**Post date:** [May 7, 2016, 5:58am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/33 "2016-05-07T05:58:40Z")

</div>

,

Thank you so much for explanation. I will try this method for more FPS and less built times.

By the way, i’m really curious about complex object lightmaps like a detailed car (like McLaren car customizer).

---

<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:** [May 7, 2016, 6:56am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/34 "2016-05-07T06:56:15Z")

</div>

I probably wouldn’t bake a car, you should be able to get it to look good with dynamic everything. I’ll have to watch the live stream about UE4 for Enterprise again and see how they did it.

But I should have time to remake that light fixture tomorrow.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5ab72736](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5ab72736](https://forums.unrealengine.com/u/anonymous_user_5ab72736)\
**Post date:** [May 7, 2016, 7:25am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/35 "2016-05-07T07:25:13Z")

</div>

> [@ZacD;525924](#):
>
> I probably wouldn’t bake a car, you should be able to get it to look good with dynamic everything. I’ll have to watch the live stream about UE4 for Enterprise again and see how they did it.
> 
> But I should have time to remake that light fixture tomorrow.

Your couch looks crazy good! Question though. How come you put a low poly verson of the cushions inside the high-poly before shrink wrapping it?

This is the best result I’ve gotten for the light fixture. The shadows on the bench are a little jaggered with a light res of 512 but they’re not too bad. Bumping up to 1024 nearly eliminates the problem.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/f/f0f08da2f54fd50fae7c55d9137fec79dd213ca4.jpeg)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/b/84bdd77b3327a4ca067740cb5926755b8b52c841.jpeg)

---

<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:** [May 7, 2016, 12:38pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/36 "2016-05-07T12:38:22Z")

</div>

> [@dylan86.exe;525930](#):
>
> Your couch looks crazy good! Question though. How come you put a low poly verson of the cushions inside the high-poly before shrink wrapping it?

I’m not sure what you are asking, the low poly should be bigger and around the high poly before shrink wrapping. Also with the light you could probably get away with not baking a light map on it.

---

<div class="post-metadata">

**Author:** ![heartlessphil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@heartlessphil](https://forums.unrealengine.com/u/heartlessphil)\
**Post date:** [May 7, 2016, 9:49pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/37 "2016-05-07T21:49:13Z")

</div>

Not only you could leave those lamps to movable and not bake the lighting on it but you could also increase the dynamic shadow resolution. Try 4096x4096 res dynamic shadows. They’ll look much more clean!

---

<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:** [May 7, 2016, 11:07pm UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/38 "2016-05-07T23:07:06Z")

</div>

I went ahead with unwrapping the light fixture once I downloaded it. There was a few issues with the model I fixed and optimized for real time.

[![](https://i.imgur.com/UYZGRnF.jpg) ](https://i.imgur.com/UYZGRnF.jpg)

[![](https://i.imgur.com/lkUKT9a.jpg) ](https://i.imgur.com/lkUKT9a.jpg)

[![](https://i.imgur.com/8NlcySQ.jpg) ](https://i.imgur.com/8NlcySQ.jpg)

[![](https://i.imgur.com/68GstaJ.jpg) ](https://i.imgur.com/68GstaJ.jpg)

The trick for unwrapping this was just unwrapping one of the poles that wrap around the fixture. Once it’s unwrapped you can just duplicate the mesh and have the UVs for that part stacked on top of each other. When it goes into UE4, the engine will separate stacked UVs for the lightmap.

By the way, that needed a 512 light map.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5ab72736](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5ab72736](https://forums.unrealengine.com/u/anonymous_user_5ab72736)\
**Post date:** [May 9, 2016, 6:51am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/39 "2016-05-09T06:51:34Z")

</div>

So you deleted all of those bars surrounding the bulb except one, unwrapped that and then duplicated the remainder bars?  
Wouldn’t you need to unwrap each one after you’ve duplicated them? Correct?  
And i thought if any UVs are overlapping, unreal throws a overlapping error…

---

<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:** [May 9, 2016, 8:00am UTC](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485/40 "2016-05-09T08:00:35Z")

</div>

When creating light maps UE4 looks at each individual UV island. UV islands can overlap each other, they just can’t overlap themselves. That only applies if you are having UE4 generate the light maps, if you are making them, there can’t be any overlaps.

[Previous page](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485.md?page=1)

[Next page](https://forums.unrealengine.com/t/lets-create-a-complex-lightmap-open-discussion/62485.md?page=3)
