Dynamic lighting flickering

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
vaa44
Posts: 16
Joined: Wed Mar 31, 2021 7:16 am

Dynamic lighting flickering

Post by vaa44 »

I noticed this bug. It seems to appear only in the Opengl renderer.
https://youtu.be/suSsk2US4gM
emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Post by emile_b »

Which level is that? How do I get to the same position? Thanks.
vaa44
Posts: 16
Joined: Wed Mar 31, 2021 7:16 am

Re: Dynamic lighting flickering

Post by vaa44 »

emile_b wrote:Which level is that? How do I get to the same position? Thanks.
Hexen map27 near the entrance to the temple (the beginning of the level)
emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Post by emile_b »

Ok I got there but it didn't happen for me. Did you play all the way up to that level and does that happen anywhere else? Or just that position?
What are your PC specs?
emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Post by emile_b »

Also I don't understand why it is affected by the decals being rendered.
vaa44
Posts: 16
Joined: Wed Mar 31, 2021 7:16 am

Re: Dynamic lighting flickering

Post by vaa44 »

emile_b wrote:Ok I got there but it didn't happen for me. Did you play all the way up to that level and does that happen anywhere else? Or just that position?
What are your PC specs?
In Doom, I did not notice anything similar. In Heretic on E2M2, I noticed as though the opposite effect (i.e. the decals on the walls near the torches removed the flicker). In Hexen, I have seen this more than once. In general, this effect appears near objects with lighting that are very close to the walls, such as a torch in the video.
In LzDoom3.87c and GzDoom 4.5.0, 4.6.0 this bug is not present. In GLES renderer also not.
My PC : Athlon X2 2.7GHz, GTS450 (latest available driver), DDR2 800MHz.
emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Post by emile_b »

vaa44 wrote:
emile_b wrote:Ok I got there but it didn't happen for me. Did you play all the way up to that level and does that happen anywhere else? Or just that position?
What are your PC specs?
In Doom, I did not notice anything similar. In Heretic on E2M2, I noticed as though the opposite effect (i.e. the decals on the walls near the torches removed the flicker). In Hexen, I have seen this more than once. In general, this effect appears near objects with lighting that are very close to the walls, such as a torch in the video.
In LzDoom3.87c and GzDoom 4.5.0, 4.6.0 this bug is not present. In GLES renderer also not.
My PC : Athlon X2 2.7GHz, GTS450 (latest available driver), DDR2 800MHz.
Ohh really sorry I was testing GLES, yes I actually DO get the same problem when using OpenGL renderer. I will check it out thanks.
vaa44
Posts: 16
Joined: Wed Mar 31, 2021 7:16 am

Re: Dynamic lighting flickering

Post by vaa44 »

emile_b wrote:
vaa44 wrote:
emile_b wrote:Ok I got there but it didn't happen for me. Did you play all the way up to that level and does that happen anywhere else? Or just that position?
What are your PC specs?
In Doom, I did not notice anything similar. In Heretic on E2M2, I noticed as though the opposite effect (i.e. the decals on the walls near the torches removed the flicker). In Hexen, I have seen this more than once. In general, this effect appears near objects with lighting that are very close to the walls, such as a torch in the video.
In LzDoom3.87c and GzDoom 4.5.0, 4.6.0 this bug is not present. In GLES renderer also not.
My PC : Athlon X2 2.7GHz, GTS450 (latest available driver), DDR2 800MHz.
Ohh really sorry I was testing GLES, yes I actually DO get the same problem when using OpenGL renderer. I will check it out thanks.
Thank you.
By the way, I managed to reproduce this bug in Doom E1M1 near the lamp.
emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Post by emile_b »

Fixed here:
https://github.com/emileb/gzdoom/commit ... 4cc574e983

Thanks for the report, was quite a serious bug.
vaa44
Posts: 16
Joined: Wed Mar 31, 2021 7:16 am

Re: Dynamic lighting flickering

Post by vaa44 »

emile_b wrote:Fixed here:
https://github.com/emileb/gzdoom/commit ... 4cc574e983

Thanks for the report, was quite a serious bug.
Thank you so much for the fix!
I wish I dont understand out what to do with this code.
Post Reply

Return to “Closed Bugs [GZDoom]”