Difficult to reproduce rendering bugs

Moderator: GZDoom Developers

Re: Difficult to reproduce rendering bugs

Postby Custodian » Sun Jan 16, 2022 2:31 pm

Edit: We know why this is happening

I did a dumb and abused transfer brightness to get the smooth gradient lighting in the affected areas:


I noticed that the areas that were blacking out aligned with the heights of the dummy sectors:


Removing the dummy sectors immediately resolves the problem in Vulkan. So, I'm going to find an alternate solution to get the desired lighting effects in these areas and not rely on transfer brightness for now. The issue only seems to appear if I use

Code: Select allExpand view
SetLineTexture(lineID, SIDE_BACK, TEXTURE_MIDDLE, "FLD00");


from a sector where I have all those transfer light sectors. So, this is something we can fix on our end by using another solution for the lighting. That's for the best anyways, this solution always felt really hacky.
User avatar
Custodian
Beyond Sunset
 
Joined: 29 Jan 2021
Location: Minneapolis MN, USA
Github ID: disasteroftheuniverse
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Difficult to reproduce rendering bugs

Postby Graf Zahl » Sun Jan 16, 2022 4:45 pm

This still should not happen.There must be some error in the logic for Vulkan here.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Previous

Return to Vulkan Renderer Bugs

Who is online

Users browsing this forum: No registered users and 0 guests