- Home /
Shadow Issues, Light going through walls slightly
I'm having issues with shadows, They don't cast in-till a bit after the mesh in lots of cases, Causing light to shine into other rooms through the walls. I've checked over the model and everything is connected and tried other shadow settings but nothing seems to fix this.
It's not obvious to me what you are trying to show here but it doesn't look like that left corner is touching the floor, although optically that's hard to tell from a screenshot.
Ok, another example. The red light on the other side goes through the walls here, even though it is closed and the wall is 12cm thick.
What is your lighting setup? Can you give an easy replicatable example of where and when this happens? I've been using Unity for quite some time and have hardly ever had issues with shadows and those are almost always fixed by changing either light or shadow settings.
Answer by DerWoDaSo · Feb 18, 2014 at 10:55 AM
To me it looks like a shadowmap "Bias" issue. Have you tried changing this?
You also might check the shadows distance in your Quality Settings. Try to reduce it a little bit and see if it helps.
For some reason, Shadow bias works fine for Spotlights, But for Point lights it does not work at all.
Yes, seems like shadowmap bias is not supported for point lights. Anyway, shadowmaps for pointlights are quiet expensive.
Answer by Spy-Shifty · Oct 06, 2016 at 10:49 PM
Its an old thread but maybe someone else has this problem...
Change the light to bake or mixed!
Done
Answer by $$anonymous$$ · Apr 11, 2018 at 02:49 PM
There is an "shadow type" option when you select the light, change it and you will probably fix the problem