Python for data science python for data analysis python pandas python numpy great learning great learning 306 watching live now.
Unity light passing through walls.
How to fix indirect lights seeping through walls.
This is a quick fix for the light bleed that i was having a while ago.
Shadows are the obvious answer however i assume you are using lite and that s not an option.
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.
Although you have enclosed the light indirect light from the light source seems to seep through especially on the ceiling and the floor.
Light passing through walls 1.
That s why shadows exist.
If either of these don t solve.
In that case you ll need to be a bit more clever.
This solution works in other engines like unity and ue4.
You have a point light source behind some walls.
This solution works in other engines like unity and ue4.
Set the point light s baking property to mixed or baked then bake your lighting data using the lighting tab.