- Home /
Baked Light map problem
Hi All,
Having an issue with baked lighting in unity. This simple set of drawers is causing problems with the baked lighting giving unpredictable results:
I am trying to bake the lights but this is causing issues with the shadow map looking strange. There is also gaps in the seams though the cast shadows is set to "two sided". The Phong isn't the issue, as this is set to 45 degrees for the drawers. There also doesn't appear to be any massive UV Overlap issues according to the preview, though I am getting this error message:
There are 20 objects in the Scene with overlapping UV's. Please see the details list below or use the 'UV Overlap' visualisation mode in the Scene View or Object Maps for more information. These drawers are duplicated in the scene.
Any help greatly appreciated...
Answer by Bodhid · Nov 26, 2018 at 03:59 PM
The shadow gap looks to be a realtime shadow, not a baked one. you can change some shadow settings in the Quality Settings like "near plane offset", "projection type" and "distance". to fill in that gap.
Does the weird shading still happen if you select "Generate Lightmap UVs" and set the Normals to calculate in your model import settings? Perhaps that would fix the shading issue.