- Home /
What is happening to my baked lighting?
Alot of bad things are happening with my baked lighting. I was following a youtube tutorial (because I have no idea what I'm doing) and the tutorial didn't have any of the same problems. I can tell that it's something wrong with the reflections my materials are producing, but it's maybe a resolution issue too?
I also have overlapping UV's and can't figure out how to fix them, but I'm working on it.
If you know what is happening or know maybe a better source for baked lighting (being used for Archviz VR for the Quest 2)... anything helps. Thanks!
Answer by MickyX · May 04 at 03:11 PM
Looks like you have bad UV's to me, first thing to check is select the Mesh in your assets and make sure you have Generate Lightmaps UV's checked. Do this for all objects and re bake
I do have that turned on! It was one of the beginning steps. I know about UV's but I know that the ones on my walls are fine, but I have others that need to be fixed inside the building. I'm trying to figure out how to adjust these settings so these light maps can be generated better and I don't have to manually fix 30 object UVS in blender. Here are my current settings, and what the UVs for that wall look like
You UV settings look fine as does the resolution you are using for the light map.
The other times I've had light scatter incorrectly like that is if you have some objects that are non manifold which then causes the light to scatter incorrectly resulting in a blocky lightmap bake. Or the normals are pointing the wrong direction however you usually see this in the inspector due to backface culling so I would guess the first is correct.
You can either make the meshes manifold or a more simple test to see if it fixes the issue is On your materials enable "Double Sided Global Illumination" and try bake again.
THANK YOU so much for replying. I've got like a month and a half to get a building larger than this baked/light, so this is my playground project.
I'm trying to find these options and I don't see either. My lights inside look generally fine. For someone who has been messing with exclusively lighting for three days I'm very happy with the inside, but my direct light (baked) on the outsideis creating really inconsistent lightmaps, but the UV looks fine? Here's what it looks like so far. I also don't understand what's happening with the roof? it looks like there's a tree or something casting shadows above my model but there isn't. How do I make things manifold in Unity?