mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
OpenXR - Do not rescale the postprocess effects
This commit is contained in:
parent
0e2fd7c2a2
commit
5417e828de
@ -385,7 +385,8 @@ void LinkedShader::UpdateUniforms(u32 vertType, const ShaderID &vsid, bool useBu
|
||||
|
||||
// Set HUD mode
|
||||
if (gstate_c.Use(GPU_USE_VIRTUAL_REALITY)) {
|
||||
bool hud = is2D && !flatScreen &&
|
||||
bool postprocess = ((gstate_c.curTextureWidth % 480 == 0) && (gstate_c.curTextureHeight % 272 == 0)) || gstate_c.textureFullAlpha;
|
||||
bool hud = is2D && !flatScreen && !postprocess &&
|
||||
gstate.isAlphaBlendEnabled() && //2D content has to be blended
|
||||
!gstate.isLightingEnabled() && //2D content cannot be rendered with lights on
|
||||
!gstate.isFogEnabled() && //2D content cannot be rendered with fog on
|
||||
|
Loading…
Reference in New Issue
Block a user