[not a bug]Dynamic lights shining through walls

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Daggorath
Posts: 1
Joined: Tue Mar 28, 2006 3:58

[not a bug]Dynamic lights shining through walls

Post 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?
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

Not without a stencil shadow buffer or some complex trickery. But this is GZDoom, not Doom 3.
User avatar
Caligari_87
Posts: 45
Joined: Tue Nov 08, 2005 18:26
Location: Salt Lake City, Utah
Contact:

Post 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?

8-)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Many pre-doom3 generation engines also show this problem.
User avatar
Eriance
Posts: 150
Joined: Wed Mar 29, 2006 19:36
Location: Everywhere and nowhere
Contact:

Post 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.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
Locked

Return to “Closed Bugs”