Light goes through a wall

Hi guys!
I have two rooms next to each other (a bedroom and a bathroom), with a wall separating them. In both of the rooms there is a dynamic point light and the light is bleeding through the wall, but only from the bedroom. Here are some screenshots:




Does anyone know how to solve this problem?

Make sure your walls have thickness, so instead of using a single plane as a wall between two rooms you’d need outer wall surfaces with space in between.

Thanks for your reply! I’m not using planes, all of my walls have thickness.

Hi Nie Dal,

I think that ‘best practice’ to prevent light bleeding is to have each of the walls be a separate mesh. Are you building with individual walls, or is it more like hollow box meshes?

Cheers

Hi Astrotronic,
Thanks for your reply! I made the wall meshes in Blender. Each wall is a separate fbx file.
Cheers

Hello there!
I found one solution to this, it’s a bit late I guess. May be it will help someone with the same problem.
Set in light source settings “Contact shadow length” to 0.1 (There could be some bugs with shadows, so you can play with its value. For me common values are 0.007, 0.05, 0.1). Also the wall should have the “Contact shadow” checked (it is by default if I’m not wrong).
It helped to get rid of the light leaking even through the planes for me!
image
image

1 Like