Light bleeds through corners of the walls

Hi everyone

So, I have my scene made out of one-side planes there is a moveable directional light in the scene that bleeds through the walls but only at the corners, looks like the perpendicular walls don’t cast full shadow at them, the light was going all the way through the walls so I enabled Two Sided Geometry and Shadow Two Sided options at those walls and I ended up with this effect

300488-annotation-2020-04-24-183759.png

What you do about this depends on your meshes and lighting scenario. Three recommendations off the top of my head:

  1. Don’t use single sided ( or no-depth ) meshes

  2. Use a dynamic skylight and get your shadows from mesh distance fields

  3. If you are using a dynamic directional light, make sure the parameter ‘dynamic shadow distance movable light’ is set to the default of 20000

Though this post is 3 years old, I have come up with a simple, temporary solution to the issue:

Get something small, like a plane, and place it in the outside of the scene.
Then, cast a shadow onto the corners. This should replace the light with a shadow.