# Some direction...

**URL:** <https://forums.unrealengine.com/t/some-direction/96164>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [July 11, 2017, 5:33am UTC](https://forums.unrealengine.com/t/some-direction/96164 "2017-07-11T05:33:42Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 12, 2017, 9:57pm UTC](https://forums.unrealengine.com/t/some-direction/96164/21 "2017-07-12T21:57:41Z")

</div>

> [@James\_Gallagher;735813](#):
>
> Best practice would be to break each wall _ **face** _ into it’s own mesh, this gives each wall an entire UVW space for lightmaps. All the left over parts of the walls you wont see can be joined together because the lightmaps won’t matter.

Ohh! Thats something I have never done on other packages. I will proceed with this method to experiment.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 12, 2017, 11:19pm UTC](https://forums.unrealengine.com/t/some-direction/96164/22 "2017-07-12T23:19:41Z")

</div>

I decided to look into stem roller and used it on the whole building as 1 unit and the roof and floor. But doing more reading I realized I had the units wrong. I never selected CM. SO I did and it improved the room but … look at these 2 screen shots. If I am closer to the problem area of light leak… its fine. But if I take a step back… it comes into the scene. ![82891786cf4ac9a6e1baadc70e2b3659805f26c3.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png) ![53bd9492b6ca1d2112bf7b69fba688fc760e0494.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

To boot, the top light leak didn’t get effected at all. I think I will try the separating the walls and see what happens.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 13, 2017, 12:47am UTC](https://forums.unrealengine.com/t/some-direction/96164/23 "2017-07-13T00:47:31Z")

</div>

> [@DMHokie;735629](#):
>
> I have had pretty good results using the SteamRoller script in Max. Just select your object, change the UV Channel to 2 in the script UI, then run the script. It will flatten out all of your surfaces and create your UV unwrap for you. Just export that as FBX, and when you import it into Unreal, make sure to uncheck “Generate UV Light Maps” on the import dialog.
> 
> [SteamRoller | ScriptSpot](http://www.scriptspot.com/3ds-max/scripts/steamroller)

Did you make a type? You said to put it to channel 2. But i noticed the unreal editor has a channel 0 and channel 1. Does it mattet or its fine?

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 13, 2017, 12:52am UTC](https://forums.unrealengine.com/t/some-direction/96164/24 "2017-07-13T00:52:44Z")

</div>

Forget it… nust read on it. Its channel 2 like you said.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 13, 2017, 4:34am UTC](https://forums.unrealengine.com/t/some-direction/96164/25 "2017-07-13T04:34:10Z")

</div>

wow… this a lot of work just to get a room to not bleed. If anyone has a guide how to do the spacing in the UVW editor where people snap the verts to the squares, please post it. Im lost there. But I made progress… i managed to get some of the bleeding out with the uv channel and steam roll.

---

<div class="post-metadata">

**Author:** ![James\_Gallagher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James\_Gallagher](https://forums.unrealengine.com/u/James_Gallagher)\
**Post date:** [July 13, 2017, 1:43pm UTC](https://forums.unrealengine.com/t/some-direction/96164/26 "2017-07-13T13:43:43Z")

</div>

It would have little to do with spacing if your entire building is one mesh, there’s just not enough room on the UVW space for all the information you’re trying to bake. Read through this:  
[http://www.worldofleveldesign.com/categories/udk/udk-lightmaps-01-basics-and-important-principles-for-creating-using-lightmaps.php](http://www.worldofleveldesign.com/categories/udk/udk-lightmaps-01-basics-and-important-principles-for-creating-using-lightmaps.php)  
It’ll help you understand your problem and will allow you to easily see whats going wrong. It’s a simple problem with an easy solution.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 13, 2017, 8:10pm UTC](https://forums.unrealengine.com/t/some-direction/96164/27 "2017-07-13T20:10:14Z")

</div>

> [@James\_Gallagher;736220](#):
>
> It would have little to do with spacing if your entire building is one mesh, there’s just not enough room on the UVW space for all the information you’re trying to bake. Read through this:  
> [http://www.worldofleveldesign.com/categories/udk/udk-lightmaps-01-basics-and-important-principles-for-creating-using-lightmaps.php](http://www.worldofleveldesign.com/categories/udk/udk-lightmaps-01-basics-and-important-principles-for-creating-using-lightmaps.php)  
> It’ll help you understand your problem and will allow you to easily see whats going wrong. It’s a simple problem with an easy solution.

Ok… will read that. THXS!

---

<div class="post-metadata">

**Author:** ![James\_Gallagher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James\_Gallagher](https://forums.unrealengine.com/u/James_Gallagher)\
**Post date:** [July 13, 2017, 8:22pm UTC](https://forums.unrealengine.com/t/some-direction/96164/28 "2017-07-13T20:22:59Z")

</div>

No problem, I used to struggle wrapping my head around UVWs as well, that article made it click for me. Feel free to ask if you have any questions!

---

<div class="post-metadata">

**Author:** ![Kurt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kurt](https://forums.unrealengine.com/u/Kurt)\
**Post date:** [July 13, 2017, 9:26pm UTC](https://forums.unrealengine.com/t/some-direction/96164/29 "2017-07-13T21:26:16Z")

</div>

Hi Syrom, sorry for late reply but I see you got an answer. I tested out Steamroller myself which DMHokie suggested, and thats a big time saver script. Lovely suggestion DMHokie. And as James is saying. This phase in your learning is a lot of back and forth until concepts and workflows get internalized. It’s like that for most of us. But It’ll all go much quicker when it starts to slowly click.

One thing, on import have you made sure to turn off “Generate Lightmap UVs”? You need to expand some options on the import dialogue to see the option.  
 ![9cb0b01c0c7ba0abbf9fa96d0acbad727035fd43.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 12:53am UTC](https://forums.unrealengine.com/t/some-direction/96164/30 "2017-07-14T00:53:29Z")

</div>

> [@James\_Gallagher;736404](#):
>
> No problem, I used to struggle wrapping my head around UVWs as well, that article made it click for me. Feel free to ask if you have any questions!

Hey James, I checked out the vid. Its Maya though… never used it. Strictly 3dsmax. But its a good watch to get it to click for me. Ill watch it over and over to figure it out. thanks again… i will continue.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 12:55am UTC](https://forums.unrealengine.com/t/some-direction/96164/31 "2017-07-14T00:55:04Z")

</div>

> [@Kurt;736439](#):
>
> Hi Syrom, sorry for late reply but I see you got an answer. I tested out Steamroller myself which DMHokie suggested, and thats a big time saver script. Lovely suggestion DMHokie. And as James is saying. This phase in your learning is a lot of back and forth until concepts and workflows get internalized. It’s like that for most of us. But It’ll all go much quicker when it starts to slowly click.
> 
> One thing, on import have you made sure to turn off “Generate Lightmap UVs”? You need to expand some options on the import dialogue to see the option.  
> ![9cb0b01c0c7ba0abbf9fa96d0acbad727035fd43.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

Yup… i did . I think my issue is the UVW part still. I am getting different results everytime I redo everything so i think I am on the right path. Im still searching for a guide to let me know how people do the snap to verts thing on the uvw editor. I am sure i will find it with time. thxs for the advice!

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 1:06am UTC](https://forums.unrealengine.com/t/some-direction/96164/32 "2017-07-14T01:06:40Z")

</div>

I did a simple test. Created a cube with 1 opening. and use steam roller script. exported it. unchecked “create uv light maps”. ANd this is what I got. SO there is something else I am doing wrong. I will read and watch more vids since it also has the leaks and its 1 whole cube with no seams. ![35c17a04cd41eb469ca245710dda51b083bfe12b.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 1:18am UTC](https://forums.unrealengine.com/t/some-direction/96164/33 "2017-07-14T01:18:54Z")

</div>

And here is the test box. I flatten it with steam rooller. Made sure its in channel 2. unchecked "create lightmap: on unreal. Increased the light resolution from 64 to 512. Clicked on Double SIded. And running unreal at EPIC. ANd still get light leak inside. LOL!

 ![Screenshot (16).png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/1/d41ae8a5169493ac6a3ab5b780e47a84a25eb3c2.png)

---

<div class="post-metadata">

**Author:** ![Kurt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kurt](https://forums.unrealengine.com/u/Kurt)\
**Post date:** [July 14, 2017, 1:30am UTC](https://forums.unrealengine.com/t/some-direction/96164/34 "2017-07-14T01:30:18Z")

</div>

A couple of things you can try:

- When you collapse your mesh to an edible poly, run reset x-form
- You do have a basic material on it in ue4? If not, drop the basic wall or something like that on it.
- Do you only have the basic lighting setup now? In other words, just the exterior light source? If so, you can drop a skylight into the scene, and even add a reflection capture and a point light with low values inside the room.
- What UVW vert snap thing are you thinking about?

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 1:31am UTC](https://forums.unrealengine.com/t/some-direction/96164/35 "2017-07-14T01:31:06Z")

</div>

![Screenshot (19).png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/7/3675f56fc8212584e17782bd31477371b58d1500.png)

Here is the UVW for it. Set to channel 2 and all. What is wrong with it? Seems like I am following every step. I got this manually by adding a UWV modifier. Selected channel 2. Flatten it. And thats it really. Am I suppose to click on something else inside the uvw editor on max?

---

<div class="post-metadata">

**Author:** ![Kurt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kurt](https://forums.unrealengine.com/u/Kurt)\
**Post date:** [July 14, 2017, 1:35am UTC](https://forums.unrealengine.com/t/some-direction/96164/36 "2017-07-14T01:35:48Z")

</div>

Your UVs are good. Have you unwrapped channel 1 as well? In case that confused you. The channel 1 is for you textures. The channel 2 is for the lightmap. I am guessing you got that, but just to be sure. Just make sure to collapse the mesh before export you should be good. But actually, as I am looking at your image. I dont think there’s anything wrong with it. Its just that you don’t have any lights in the scene. I think thats your issue at this stage, so move on to experiment a little with lights and see what that gets you.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 1:36am UTC](https://forums.unrealengine.com/t/some-direction/96164/37 "2017-07-14T01:36:26Z")

</div>

> [@Kurt;736518](#):
>
> A couple of things you can try:
> 
> - When you collapse your mesh to an edible poly, run reset x-form
> - You do have a basic material on it in ue4? If not, drop the basic wall or something like that on it.
> - Do you only have the basic lighting setup now? In other words, just the exterior light source? If so, you can drop a skylight into the scene, and even add a reflection capture and a point light with low values inside the room.
> - What UVW vert snap thing are you thinking about?

I will run xform.

I did apply the wall mat.

I selected “New Level” and selected “Default”.

I have seen vids under this very topic where people recommend selected “Snap to verts” so the uvw is evenly put on the square grids but I dont think thats necessary since they are even already by flattening the primitive box.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 1:37am UTC](https://forums.unrealengine.com/t/some-direction/96164/38 "2017-07-14T01:37:09Z")

</div>

hmm… glad to hear that. I will experiment with the lights.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 1:38am UTC](https://forums.unrealengine.com/t/some-direction/96164/39 "2017-07-14T01:38:03Z")

</div>

Also… I have not unwrapped channel 1. I just unwrapped channel 2 since its a lightmap. But that could be the issue? I will experiment.

---

<div class="post-metadata">

**Author:** ![syrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syrom](https://forums.unrealengine.com/u/syrom)\
**Post date:** [July 14, 2017, 1:44am UTC](https://forums.unrealengine.com/t/some-direction/96164/40 "2017-07-14T01:44:55Z")

</div>

Ahhhhh… Added a skylight like you said Kurt. Seems like this is PROGRESS!

[Previous page](https://forums.unrealengine.com/t/some-direction/96164.md?page=1)

[Next page](https://forums.unrealengine.com/t/some-direction/96164.md?page=3)
