[BUG]? No shadows, light bleed using dynamic lighting

Not sure if this is a bug or not but my project does not use static lighting and as such shadows can be very costly. I recently discovered an issue where if I turn off the shadows on a spotlight, I get bleed through walls that does not happen when I turn the shadows on. Wondering if there’s some way to deal with this such as a light blocking volume that I can hide inside the wall meshes?

I was able to recreate the issue using the starter content in a new project.

That is expected and is not a bug. Blocking the light and casting the shadow, is essentially the same thing.

There should be a way to do one without the other.

Sounds like you want the cost savings of a non shadow casting light that casts shadows. :wink:

Agreed this is expected. You can always fake the effects with materials kr decals though if you really need.

Most would say that light leaking through walls and light creating shadows are two different things though I understand it’s a limitation of the renderer. I’d rather just have a light blocking volume that you can use to block the walls so that the light doesn’t shine through. Source engine had something like this. Maybe it’s something that could go on the map for a future addition to the engine?

Faking it with materials doesn’t really give you the light though, it just gives you the outline on the walls. Objects that pass underneath still won’t be lit etc. I guess I’ll have to turn on shadows for the really bad ones and take the performance hit for now.