[Fixed] Dynamic lighting flickering

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Dynamic lighting flickering

Postby vaa44 » Sat Jun 12, 2021 6:21 am

I noticed this bug. It seems to appear only in the Opengl renderer.
https://youtu.be/suSsk2US4gM
vaa44
 
Joined: 31 Mar 2021

Re: Dynamic lighting flickering

Postby emile_b » Sat Jun 12, 2021 10:25 am

Which level is that? How do I get to the same position? Thanks.
emile_b
 
Joined: 22 Sep 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Postby vaa44 » Sat Jun 12, 2021 11:00 am

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)
vaa44
 
Joined: 31 Mar 2021

Re: Dynamic lighting flickering

Postby emile_b » Sat Jun 12, 2021 11:13 am

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
 
Joined: 22 Sep 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Postby emile_b » Sat Jun 12, 2021 11:20 am

Also I don't understand why it is affected by the decals being rendered.
emile_b
 
Joined: 22 Sep 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Postby vaa44 » Sat Jun 12, 2021 11:47 am

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.
vaa44
 
Joined: 31 Mar 2021

Re: Dynamic lighting flickering

Postby emile_b » Sat Jun 12, 2021 11:59 am

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.
emile_b
 
Joined: 22 Sep 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Postby vaa44 » Sat Jun 12, 2021 12:06 pm

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.
vaa44
 
Joined: 31 Mar 2021

Re: Dynamic lighting flickering

Postby emile_b » Mon Jun 14, 2021 11:27 am

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

Thanks for the report, was quite a serious bug.
emile_b
 
Joined: 22 Sep 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic lighting flickering

Postby vaa44 » Mon Jun 14, 2021 12:09 pm

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.
vaa44
 
Joined: 31 Mar 2021


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest