cmbruns / gz3doom

Classic Doom/Heretic/Hexen games in stereo 3D and VR; modified version of gzdoom.
http://rotatingpenguin.com/gz3doom/
88 stars 16 forks source link

[2.1.1][Rift] Hud items very flickery #124

Open cmbruns opened 8 years ago

cmbruns commented 8 years ago

As if the Hud items, e.g. ammo count, health icon, etc. individually are being drawn using some corners of the hud rectangle, instead of their proper tiny bounds within the HUD.

This has been going on since I first got the hud working in the gz3doom_2.1.1 branch.

Perhaps there is a defect in the OpenGL state at the point where the hud texture is bound for update at the end of a render pass.

cmbruns commented 8 years ago

It looks like fragments of the hud are ocasionally being drawn with the wrong corners. Especially one of the corners is wrongly the upper left corner (maybe 0,0?).

I cannot get one of these glitches to display stably in-games, so I captured a video and captured some glitch frames from the video, below.

vlcsnap-2016-05-01-16h27m07s36

vlcsnap-2016-05-01-16h27m38s39 vlcsnap-2016-05-01-16h29m13s56 vlcsnap-2016-05-01-16h25m14s25