From 1e2cf07c6b650d1a8a605ab3bd8271e79cfedc2d Mon Sep 17 00:00:00 2001 From: Lubos Date: Fri, 2 Dec 2022 15:16:41 +0100 Subject: [PATCH] OpenXR - Monster Hunter HUD fixed --- GPU/GLES/ShaderManagerGLES.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GPU/GLES/ShaderManagerGLES.cpp b/GPU/GLES/ShaderManagerGLES.cpp index 0f730a3101..35f0a631c5 100644 --- a/GPU/GLES/ShaderManagerGLES.cpp +++ b/GPU/GLES/ShaderManagerGLES.cpp @@ -366,12 +366,12 @@ static inline bool GuessVRDrawingHUD(bool is2D, bool flatScreen) { else if (gstate.isClearModeColorMask()) hud = false; //HUD cannot be rendered with depth color mask else if (gstate.isClearModeDepthMask()) hud = false; - //HUD cannot be rendered with fog on - else if (gstate.isFogEnabled()) hud = false; //HUD texture has to contain alpha channel else if (!gstate.isTextureAlphaUsed()) hud = false; - //HUD cannot have full alpha + //HUD cannot have full texture alpha else if (gstate_c.textureFullAlpha) hud = false; + //HUD must have full vertex alpha + else if (!gstate_c.vertexFullAlpha) hud = false; //HUD cannot render FB screenshot else if (gstate_c.curTextureHeight == 272) hud = false;