Shadow and light issue: shadow not projecting on objects as expected
In my scene I have a directional light (which is used as the sun) and a "house" made of 6 cubes (1 for each wall, 1 for the ceiling and 1 for the floor), each with a brick texture and diffuse shader.
Inside this house I have another cube, and even though I was expecting no light to shine on it (nor on any of the interior walls) the cube is fully lit as if the walls were not there.
Why does this happen? Shouldn't the interior of my house be in absolute darkness? And if I make a window by cutting one of my walls/cubes, then yes, some light will get in it?
Thanks
light1.png
(452.6 kB)
light2.jpg
(505.1 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612100615im_/https://answers.unity.com/themes/thub/images/avi.jpg)