Solving the overlapping UVs problem


Recently I have been having trouble with lighting in the unreal engine, as  keep getting warnings that my UVs are overlapping, and the engine can’t lightmap the mesh. This took up a lot of time to fix, as most of the online help didn’t prove to be very useful. Screen Shot 2016-04-12 at 10.10.00.pngI went back into blender to try and solve the problem, and I spent a lot of time going through each mesh of the model to give it a 2nd UV channel for the lightmap, this however did not work. For the lightmap to work I needed to create a separate UV channel, keep all of the UVs separate, as well as keep them within the parameters of the texture.  I then realised that the engine joins the meshes together when imported, this would mean if I had a channel for every single mesh, it would still overlap.Screen Shot 2016-04-12 at 10.10.39.pngScreen Shot 2016-04-12 at 10.10.32.png

The solution was to simply join everything together within blender, create a 2nd UV channel for the entire model, and then automatically separate the UVs.   Screen Shot 2016-04-12 at 10.10.09.pngThe second UV channel was now nicely laid out and acceptable for a lightmap.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s