Download

Lightmap UV are overlapping

Hey.

I’m new in Unreal Engine world and every step i do i find a problem and the probleme this time is overlapping error
I use unreal engine version 4.5 et les tutorial that I found is for the old version
and like you can see there is 1212 errors that I need to fix
plz tell me if there is a simple thing to fix all this errors

Your models have bad Lightmap UV’s or even don’t have those at all. You need to create the second UV channel for lightmap UV’s and flatten Uv’s under 45 degree (in max) in other applications find a way to do that, after assign Lightmap coordinate index to lightmap channel.

is that I’m forced to do this for all objects in the scenes or only the main object

Hi FICTIONSELL,

Yes for all object but if you are using Unreal Engine 4.5 & more, it can automatically generate Lightmap UVs for you in Static Mesh Editor,** Build Setting**, check Generate Lightmap UV and click apply changes button

9dcf7b062a36fddda974425ea8f79a1b_1.png

actually it enabled automatically

5bf0365ecf43db68e43244fd15b3186340c90753.jpeg

Hi Fictionsell,

Depending on how you’ve unwrapped the texture UV will determine how the generated lightmap will work. The generated LM will repack the texture UV layout. It will not break seams to do so either.

For example. If you have a cylinder or a sphere that has not been split on a seam the LM will not do this still leaving and Overlapping UV error. You may not need to do this for all objects, but you will need to check or fix some in your 3D modeling software to get the issue resolved.

Alternatively, using a fully dynamic scene can help, but at the cost of performance and losing the quality gains that a baked shadow will bring. That is an option if you do not want to deal with the headache of fixing that many lightmaps.

Feel free to ask any questions and I’ll help where I can. :slight_smile:

Tim

Hello Tim ,

Thank you for the tip but :

I don’t understand ? Only with movable objects and lights ?

@ChrisTm -

I was pointing out that if someone decided they didn’t want to re-do or setup that many lightmaps there is the choice to use dynamic/movable lights for shadows rather than baking that information into a lightmap. It’s a performance trade-off of course.

Thank you Tim for the reply but what i can’t understand is why the planar surface like floor for exemple show this error

thanks

All right , nothing more , merci

How would you deal with this problem in 4.4.3. For example, I have an object that has this same error. When I open the object, in the drop down menu for UV channels it only has a 0.

In 4.4.3 there are still some UV generating tools to help out. There are two in 4.4.3 and prior though.

Open the mesh in the mesh viewer/editor > Menu Bar > Windows > Generate UVs > a tab will open in the bottom right under the details panel >

You will have two options here:

Create New UV and you can select the channel - This will pelt map and break apart chunks of your mesh to get a UV. I wouldn’t recommend this method as it’s rarely produced good results with more complex or even simple objects at times.

The second option is to base the UV creation off the UV0 for the texture. This is the current (more refined) method that is in 4.5 and later. This will look at the UVs that are split in UV0 and repack them into UV1 for the lightmap.

Option two is the more preferred method. However, if you want the most control over your UVs it is recommended to use an external program and make a custom LM.

Thanks!

Tim