Page 1 of 1

Fullscreen HUD disappears if cameratexture is in view

PostPosted: Wed Aug 22, 2018 10:02 am
by Blue Shadow
Tested with: 3.5.0 64-bit
Test material: ZPack, E1M6, position: (3329.582, 3433.728, -0.000), angle: 90.000

Spoiler: GZDoom log


The fullscreen HUD (normal status bar is fine) disappears if a cameratexture is in the field of view of the player.

Affects all renderer modes except OpenGL.

Re: Fullscreen HUD disappears if cameratexture is in view

PostPosted: Tue Oct 09, 2018 4:02 am
by Rachael
Edited the topic title for clarity. I was confused, at first.

Re: Fullscreen HUD disappears if cameratexture is in view

PostPosted: Tue Oct 09, 2018 12:34 pm
by Enjay
I can't say I'm seeing this with 3.5.1 (and a git build from yesterday). I've tried a few different HUD and scaling options. The HUD remained visible at all times.

Re: Fullscreen HUD disappears if cameratexture is in view

PostPosted: Tue Oct 09, 2018 1:34 pm
by Rachael
You have to have screenblocks==11 && ( 0 <= vid_rendermode <=3 ), it will render just fine if you use the status bar or OpenGL mode.

Re: Fullscreen HUD disappears if cameratexture is in view

PostPosted: Tue Oct 09, 2018 1:48 pm
by Enjay
Ah, that was it. My vid_rendermode was not in that range. I can see it now (or, rather, I can't see the HUD now as long as any part of the camera texture is in my FOV).

Re: Fullscreen HUD disappears if cameratexture is in view

PostPosted: Sun Mar 17, 2019 12:35 pm
by Graf Zahl
Fixed. Another instance where global state was set in a wrong place - par for course for nearly all code originating from the software renderer.