diff --git a/Source/NinjaGaiden3/7a641a67c4009f7f_0000000000000000_vs.txt b/Source/NinjaGaiden3/7a641a67c4009f7f_0000000000000000_vs.txt index 981da8fd..0f638a36 100644 --- a/Source/NinjaGaiden3/7a641a67c4009f7f_0000000000000000_vs.txt +++ b/Source/NinjaGaiden3/7a641a67c4009f7f_0000000000000000_vs.txt @@ -4,8 +4,9 @@ #extension GL_ARB_shading_language_packing : enable // shader 7a641a67c4009f7f //Blur -const float resXScale = ($width/$gameWidth); -const float resYScale = ($height/$gameHeight); + +const float resXScale = intBitsToFloat($width)/intBitsToFloat($gameWidth); +const float resYScale = intBitsToFloat($height)/intBitsToFloat($gameHeight); uniform ivec4 uf_remappedVS[8]; uniform vec2 uf_windowSpaceToClipSpaceTransform; diff --git a/Source/NinjaGaiden3/fd6c2e800481a180_0000000000000000_vs.txt b/Source/NinjaGaiden3/fd6c2e800481a180_0000000000000000_vs.txt index 9a471e23..d8b464fa 100644 --- a/Source/NinjaGaiden3/fd6c2e800481a180_0000000000000000_vs.txt +++ b/Source/NinjaGaiden3/fd6c2e800481a180_0000000000000000_vs.txt @@ -4,8 +4,8 @@ #extension GL_ARB_shading_language_packing : enable // shader fd6c2e800481a180 //Cinematic bloom -const float resXScale = ($width/$gameWidth); -const float resYScale = ($height/$gameHeight); +const float resXScale = intBitsToFloat($width)/intBitsToFloat($gameWidth); +const float resYScale = intBitsToFloat($height)/intBitsToFloat($gameHeight); uniform ivec4 uf_remappedVS[8];