Gene Tech zfighting after index buffer merge

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
dpJudas
 
 
Posts: 3040
Joined: Sat May 28, 2016 1:01 pm

Gene Tech zfighting after index buffer merge

Post by dpJudas »



Seems that some of the geometry is getting rendered twice, as illustrated by the screenshot above. Warp 5446 -415 -32. The pillar in the middle is doing this - some other parts on the map as well. Also, if you bring up the map it seems to be rendering some small part of the scene at the bottom of the screen for some reason.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Gene Tech zfighting after index buffer merge

Post by Graf Zahl »

Is this still present after the fix I pushed yesterday? I have seen it before that was done but not afterward.
dpJudas
 
 
Posts: 3040
Joined: Sat May 28, 2016 1:01 pm

Re: Gene Tech zfighting after index buffer merge

Post by dpJudas »

I think so. Did a pull before building - but I'll try again tonight when I get home from work to be absolutely sure.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Gene Tech zfighting after index buffer merge

Post by _mental_ »

Unfortunately it's still there. This is noticeable on vertical surfaces around some doors

Code: Select all

-iwad doom2 -file njgtb4ts.pk3 +map map01 -nomonsters "+warp 6750 -1980"  // and turn back
-iwad doom2 -file njgtb4ts.pk3 +map map01 -nomonsters "+warp 6750 -1480"
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Gene Tech zfighting after index buffer merge

Post by Graf Zahl »

This wasn't z-fighting. It was some imprecision in the shader where the backside check for dynamic lights failed because the dot product of two supposedly orthogonal vectors apparently wasn't always 0.
Post Reply

Return to “Closed Bugs [GZDoom]”