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


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