Page 1 of 1
[not a bug]Dynamic lights shining through walls
Posted: Fri Mar 31, 2006 3:09
by Daggorath
When there is a light source close to a wall (a fire stick for example), you can see the light shining through the other side of the wall on the ground and on wall corners. I know Doom wasn't meant to have dynamic lights from the beginning, but can this problem be fixed?
Posted: Fri Mar 31, 2006 7:03
by Shinjanji
Not without a stencil shadow buffer or some complex trickery. But this is GZDoom, not Doom 3.
Posted: Fri Mar 31, 2006 7:51
by Caligari_87
IDEA: Edge has pretty sick "shadows". I'm sure you've seen them, Graf. Perhaps the same principle could be applied to dynamic lights with stenciling or something?

Posted: Fri Mar 31, 2006 9:07
by Graf Zahl
This is a non-trivial problem that cannot be solved without considerable alterations of how the engine works. And that's something I won't do.
Posted: Fri Mar 31, 2006 15:57
by Enjay
Many pre-doom3 generation engines also show this problem.
Posted: Thu Apr 20, 2006 7:06
by Eriance
It's not surprising. Even half Life and it's mods does this. When people fire guns, the lights go right through the walls.
Posted: Thu Apr 20, 2006 9:01
by Graf Zahl
... and they even light surfaces facing away from the light source although excluding them is a trivial calculation so it's amazing it wasn't done.