wfowler1 / Unity3D-BSP-Importer

A lightweight plugin for importing BSP maps into Unity3D as meshes.
Other
113 stars 17 forks source link

Combine by mesh and combine by entity produces overlapping UVs #6

Closed Wully616 closed 2 years ago

Wully616 commented 4 years ago

Hey!

I've found when trying to bake lighting on the maps unity warns of overlapping UVs Heres an example https://imgur.com/a/UgP9hoZ

You can see the lighting doesnt get applied properly because another part of the mesh is overlapping on the UVs

Wully616 commented 4 years ago

Found a work around by exporting the mesh in unity using this package https://assetstore.unity.com/packages/essentials/fbx-exporter-101408 then within unity clicking the "Generate Lightmap UVs" in the model import, all of the textures seem to still look correct, and the lightmaps now bake nicely

wfowler1 commented 4 years ago

Well, I'm not sure what exactly this means or how to fix it, but I'll look into it. It's a very strange error.

lewa-j commented 2 years ago

This means you need to generate uv2 for lightmaps.