- Home /
What am I doing wrong with my lighting? (Baking/Occlusion)
Hey guys, I am really hoping someone here can help me out. I'm trying to finally get advanced with my lighting/drawing techniques. This involves such enjoyable topics as light baking, ambient occlusion, etc. However, I'm clearly doing something really wrong... The most severe problem I have is that scenes that have complex lighting requirements generate a lot of drawcalls. In and of itself it isn't a problem as I limit rooms like this and try to bake the lighting in to reduce drawcalls and use walls in between that room and the outside world to occlude it so that those small rooms don't affect overall framerate. Herein lies my problem. For some reason baking doesn't appear to be painting the colors and textures into the scene properly, and worse, the occlusion doesn't appear to be blocking lights on the other side of walls. In fact, in some instances, lights bleed through the walls entirely.
Any help at all would be huge. At some point I need to find out why my baking isn't working, but getting these draw calls under control and figuring out why lights are bleeding through and walls aren't occluding is of paramount importance. Thanks in advance!!
If you have overlapping meshes, problems like this can happen