Although you have enclosed the light indirect light from the light source seems to seep through especially on the ceiling and the floor.
Lights going through walls unity.
By default every new unity scene contains a directional light.
You have a point light source behind some walls.
That s why shadows exist.
In unity 5 this is linked to the procedural sky system defined in the environment lighting section of the lighting panel lighting scene skybox.
These options have obvious edge cases that can t be easily resolved.
You can simulate this in shaders or use raycasts to see if the light is behind a wall.
1080p 60fps gameplay by nintendo unity.
You can change this behaviour by deleting the default directional light and creating a new light or simply by specifying a different.
Let s see which characters can use their moves and tricks to move through a solid wall in super smash bros.
In that case you ll need to be a bit more clever.
Part of building an architectural walkthrough using unity video series.
However if you can section things off into rooms then disabling the lights not in your room will solve this.