I'm getting a strange effect with dynamic lights enabled. The lights seem to somehow "shine through" solid walls. I'm getting this effect all over the place with all kinds of maps and objects. Is this a known limitation of the GL engine? Or a bug on my system?
Example below is from the beginning of Doom 2 Map 19, The Citadel.
Dynamic lights
Moderator: Graf Zahl
- Gez
- Developer
- Posts: 1399
- Joined: Mon Oct 22, 2007 16:47
Re: Dynamic lights
Known limitation. The engine doesn't know how to cut dynamic light with world geometry.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: Dynamic lights
To be fair, GZDoom does a better job of it than some of the early 3D accelerated games but, yes, known limitation (it's been reported a number of times).
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
Re: Dynamic lights
A couple of work-arounds are as follows:
1. Edit the GLDEFS lump (of lights.pk3 in the GZDooM package, I believe) to reduce the radius of the glow. This will affect relevant light-emiiting items in all wads that you play, unless the wads have their own GLDEFS.
2. When making your own maps, be careful with light-emitting item placement. Adjust their positions so that they don't shine through walls.
3. When using lighting textures (i.e., not light-emitting items such as torches or candles), adjust the radius of the dynamic light to prevent shining through walls. This option, of course, is not available in wads that others have made, unless you choose to edit the dynamic light radii yourself.
Neither of these options truly solves the problem of lights bleeding through solid walls, but they may help to make the lighting seem less unrealisitic.
1. Edit the GLDEFS lump (of lights.pk3 in the GZDooM package, I believe) to reduce the radius of the glow. This will affect relevant light-emiiting items in all wads that you play, unless the wads have their own GLDEFS.
2. When making your own maps, be careful with light-emitting item placement. Adjust their positions so that they don't shine through walls.
3. When using lighting textures (i.e., not light-emitting items such as torches or candles), adjust the radius of the dynamic light to prevent shining through walls. This option, of course, is not available in wads that others have made, unless you choose to edit the dynamic light radii yourself.
Neither of these options truly solves the problem of lights bleeding through solid walls, but they may help to make the lighting seem less unrealisitic.
-
- Global Moderator
- Posts: 308
- Joined: Sun Aug 29, 2010 6:09
Re: Dynamic lights
There's a way to globally adjust dynamic lights size and intensity without having to edit every single dynamic light definition, it's in:Rex Claussen wrote:1. Edit the GLDEFS lump (of lights.pk3 in the GZDooM package, I believe) to reduce the radius of the glow. This will affect relevant light-emiiting items in all wads that you play, unless the wads have their own GLDEFS.
Options > Dispay Options > OpenGL Options > Dynamic Lights Options
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
Re: Dynamic lights
Ah, good to know. Thanks.Blue Shadow wrote:There's a way to globally adjust dynamic lights size and intensity without having to edit every single dynamic light definition...