Hey, I have solved a lot of issues with lightmapping lately but still have a really annoying problem. Here is my first thread to my lightmapping adventure with enlighten and tells the front story: Lightmapping issue, black lines between meshes - Unity Engine - Unity Discussions
Anyway I could get rid of those black shadowlines between the meshes playing around with Hard Angle and Pack Margin. So the big room looks kinda ok now (still not perfect). Now its my corridors whats making me troubles… The light and shadow what gets baked on the walls, floors and ceilings getting completly cut between the modular parts and looking different so a visible line at the edges appear.
What I dont understand is that everything looks good before I bake the scene like in those screenshots:
and another screenshot from another corridor perspective:
But as soon as I bake it (cleaned cache and cleared baked data) it turns to that:
and the other perspective:
Here are the settings I used with this bake:
And there will be no difference with changing values here. I tried pretty much everything in Baked Resolution from 1 to 200, Baked Padding from 1 to 40, Indirect Resolution from 1 to 10 and Atlas Size from 1024 to 4096.
The modular pieces are all about 4 by 2 by 2 meter and perfectly lined up. I used maya to lay down the objects and checked all vertices which connect one piece to each other. There are no gabs, no difference in height, nothing…
Did I miss another settings window where I can play around? Is smth else having an impact to that?
Another idea: Is there smth like a script which makes a single mesh out of some particular meshes, then bake the lightmap? And during playtime I get back seperated meshes for occlusion culling reasons?
So I dont know… end of my latin, no ideas… maybe someone can help me out here?!
so long…
Edit: So I just made a new clean scene and there is no problem with the corridors at all…