Question by
timpievanputten · May 05 at 01:44 PM ·
lightinglightdirectional light
How do i make a light not go through walls
So right now i'm using a directional light to light up the outside but when you go inside of a dungeon it's the same color as the shadows, how do i make it so the light of the directional light doesn't go through walls and everything without windows is solid black while shadows outside aren't
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613060214im_/https://answers.unity.com/themes/thub/images/avi.jpg)