For some reason, my ambient light isn’t working as intended, I have it set at 0.2,0.2,0.2 and the shadows show up pitch black. The spotlight I have set up is also going through parts other than the window, the faces on the models are correct.
I’m not sure about your ambient light, but I think that the problem with your spotlight is that you haven’t set it to be a shadow-caster. As a result, no shadows are cast by it onto geometry, and thus all geometry within its reach is illuminated by it.
Hmm, I don’t know, I’m afraid! Based on that image, it looks like shadows are being cast, but incorrectly for some reason. Perhaps another forum-member will have a better idea of what’s going on!
This looks like a panda shader bug. One plane repeatedly shades the other plane. It is possible that the shader does not use a depth buffer or something else. I don’t understand this shadow mechanism.
To do this, you need to build a hierarchy of objects with a division into different branches so that you can customize their lighting individually. You may also have to separate the walls and floor.