Difficult to reproduce rendering bugs

Moderator: GZDoom Developers

User avatar
Posts: 62
Joined: Fri Jan 29, 2021 8:24 pm
Graphics Processor: ATI/AMD (Modern GZDoom)
Location: Minneapolis MN, USA

Re: Difficult to reproduce rendering bugs

Post by Custodian »

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 all

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48597
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Difficult to reproduce rendering bugs

Post by Graf Zahl »

This still should not happen.There must be some error in the logic for Vulkan here.

Return to “Vulkan Renderer Bugs”