diff --git a/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt b/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt index f02e0252..be3c7b93 100644 --- a/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt +++ b/Source/MarioKart8/2e78a0d0a0aa66bb_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 2e78a0d0a0aa66bb // Used for: Horizontal (Menu) Bloom Blur -const float resScale = ($width/$gameWidth); +const float resScale = intBitsToFloat($width)/intBitsToFloat($gameWidth); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt b/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt index 9c310e84..a808aa9c 100644 --- a/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt +++ b/Source/MarioKart8/74126253134563de_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader 74126253134563de // Used for: Vertical Menu Background Blur -const float resScale = ($height/$gameHeight); +const float resScale = intBitsToFloat($width)/intBitsToFloat($gameWidth); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt b/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt index 1d752ec3..49e01dcf 100644 --- a/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt +++ b/Source/MarioKart8/ad3014302e0e49bf_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader ad3014302e0e49bf // Used for: Stage Select & Menu Background Horizontal Blur -const float resScale = ($height/$gameHeight); +const float resScale = intBitsToFloat($width)/intBitsToFloat($gameWidth); uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt b/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt index 639734ef..b6ca83ef 100644 --- a/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt +++ b/Source/MarioKart8/dd7a19be01b7b1aa_0000000000000000_vs.txt @@ -4,7 +4,7 @@ #extension GL_ARB_shading_language_packing : enable // shader dd7a19be01b7b1aa // Used for: Vertical (Menu) Bloom Blur -const float resScale = ($height/$gameHeight); +const float resScale = intBitsToFloat($width)/intBitsToFloat($gameWidth); uniform ivec4 uf_remappedVS[1]; uniform vec2 uf_windowSpaceToClipSpaceTransform;