From 690d08686c57247d136f553b78177381a9df3348 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 15 Nov 2018 18:31:33 -0800 Subject: [PATCH] fix resYScale using width instead of height for SM3DW --- .../842a19b509f8b91a_0000000000000000_vs.txt | 2 +- .../8d68a0e3561ff525_0000000000000000_vs.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/SuperMario3DWorld_Resolution/842a19b509f8b91a_0000000000000000_vs.txt b/Source/SuperMario3DWorld_Resolution/842a19b509f8b91a_0000000000000000_vs.txt index cc340aa0..81cdee3b 100644 --- a/Source/SuperMario3DWorld_Resolution/842a19b509f8b91a_0000000000000000_vs.txt +++ b/Source/SuperMario3DWorld_Resolution/842a19b509f8b91a_0000000000000000_vs.txt @@ -4,7 +4,7 @@ // shader 842a19b509f8b91a // Used for: General Blur vertical const float resXScale = float($width)/float($gameWidth); -const float resYScale = float($width)/float($gameWidth); +const float resYScale = float($height)/float($gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/SuperMario3DWorld_Resolution/8d68a0e3561ff525_0000000000000000_vs.txt b/Source/SuperMario3DWorld_Resolution/8d68a0e3561ff525_0000000000000000_vs.txt index 89ff1370..17a68cce 100644 --- a/Source/SuperMario3DWorld_Resolution/8d68a0e3561ff525_0000000000000000_vs.txt +++ b/Source/SuperMario3DWorld_Resolution/8d68a0e3561ff525_0000000000000000_vs.txt @@ -4,7 +4,7 @@ // shader 8d68a0e3561ff525 // Used for: Horizontal Gameplay Blur const float resXScale = float($width)/float($gameWidth); -const float resYScale = float($width)/float($gameWidth); +const float resYScale = float($height)/float($gameHeight); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform;