From 600e35054a485f592e790dbdf330d6fccbe4102d Mon Sep 17 00:00:00 2001 From: NAVras-Z Date: Sun, 5 Nov 2017 16:47:50 +0800 Subject: [PATCH] [BotW] minor bugfix for blurs h horizontal X v vertical Y --- .../BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt | 2 +- .../BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt | 2 +- .../BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt | 2 +- .../BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt | 2 +- .../BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt | 4 ++-- .../BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt | 4 ++-- .../BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt | 2 +- .../BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt b/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt index 0095ee57..3c03f763 100644 --- a/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/0b9b8f5dfa16ad58_0000000000000000_vs.txt @@ -10,7 +10,7 @@ $scaleFactorY = always_decimal_format($fullHeight / 720.0); #extension GL_ARB_shading_language_packing : enable // shader 0b9b8f5dfa16ad58 // Fixed radius blur -// main menu v +// main menu h const float resXScale = ; const float resYScale = ; diff --git a/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt b/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt index 6757b2c9..cac4d263 100644 --- a/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/0d6127fbed646d2b_0000000000000000_vs.txt @@ -129,7 +129,7 @@ PV0i.w = floatBitsToInt(intBitsToFloat(PV0i.w) / 2.0); R125i.z = floatBitsToInt(intBitsToFloat(R1i.w) + -(0.5)); PS0i = R125i.z; // 1 -R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[3].w) * 2.0 / resXScale + intBitsToFloat(PV0i.y))); +R123i.x = floatBitsToInt((intBitsToFloat(uf_remappedVS[3].w) * 2.0 / resYScale + intBitsToFloat(PV0i.y))); PV1i.x = R123i.x; R126i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedVS[4].x))); R126i.y = floatBitsToInt(intBitsToFloat(R126i.y) * 2.0); diff --git a/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt b/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt index c048bd48..e16f6c6b 100644 --- a/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/5c1761d13feccdff_0000000000000000_vs.txt @@ -73,7 +73,7 @@ PS0f = R2f.x + -(intBitsToFloat(uf_remappedVS[0].x)/resXScale); backupReg0f = R2f.y; backupReg1f = R2f.x; PV1f.x = R2f.y + -(intBitsToFloat(uf_remappedVS[0].y)/resYScale); -R2f.y = backupReg0f + intBitsToFloat(uf_remappedVS[0].y)/resXScale; +R2f.y = backupReg0f + intBitsToFloat(uf_remappedVS[0].y)/resYScale; R2f.z = PS0f; R2f.x = backupReg1f + intBitsToFloat(uf_remappedVS[0].x)/resXScale; PS1f = R2f.x; diff --git a/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt b/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt index 59f1ebe7..8f4c085f 100644 --- a/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/81eb264a750163d9_0000000000000000_vs.txt @@ -10,7 +10,7 @@ $scaleFactorY = always_decimal_format($fullHeight / 720.0); #extension GL_ARB_shading_language_packing : enable // shader 81eb264a750163d9 // Fixed radius blur -// volumetric light blur h +// volumetric light blur v const float resXScale = ; const float resYScale = ; diff --git a/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt b/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt index 72ecfa3b..8c436eb4 100644 --- a/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/8cab2ed476b991ea_0000000000000000_vs.txt @@ -73,9 +73,9 @@ PV0f.w = R0f.w; R0f.y = R2f.y; PS0f = R0f.y; // 1 -PV1f.x = -(intBitsToFloat(uf_remappedVS[0].w)/resXScale); +PV1f.x = -(intBitsToFloat(uf_remappedVS[0].w)/resYScale); PV1f.x /= 2.0; -PV1f.y = -(intBitsToFloat(uf_remappedVS[0].z)/resYScale); +PV1f.y = -(intBitsToFloat(uf_remappedVS[0].z)/resXScale); PV1f.y /= 2.0; R2f.x = (mul_nonIEEE(PV0f.w,intBitsToFloat(uf_remappedVS[0].x)*resXScale) + 0.5); PS1f = R2f.x; diff --git a/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt b/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt index 4b002066..75abc69e 100644 --- a/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/ea9a49a6185cf1e5_0000000000000000_vs.txt @@ -85,9 +85,9 @@ PV0f.w = R127f.w; R127f.x = PV1f.x * 1.0; PS0f = R127f.x; // 3 -R126f.x = (intBitsToFloat(uf_remappedVS[0].y) * 2.0 / resXScale + PV0f.w); +R126f.x = (intBitsToFloat(uf_remappedVS[0].y) * 2.0 / resYScale + PV0f.w); R0f.y = PV0f.z + 0.5; -R123f.z = (intBitsToFloat(uf_remappedVS[0].x) * 2.0 / resYScale + PV0f.y); +R123f.z = (intBitsToFloat(uf_remappedVS[0].x) * 2.0 / resXScale + PV0f.y); PV1f.z = R123f.z; PV1f.w = PV0f.w; R0f.x = PV0f.x + 0.5; diff --git a/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt b/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt index 033b3445..9b23500b 100644 --- a/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/f69e84515ae56e70_0000000000000000_vs.txt @@ -10,7 +10,7 @@ $scaleFactorY = always_decimal_format($fullHeight / 720.0); #extension GL_ARB_shading_language_packing : enable // shader f69e84515ae56e70 // Fixed radius blur -// bloom blur h +// bloom blur v const float resXScale = ; const float resYScale = ; diff --git a/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt b/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt index b62d6012..b55ca267 100644 --- a/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt +++ b/Source/BreathOfTheWild/fc3e63a2007625f8_0000000000000000_vs.txt @@ -10,7 +10,7 @@ $scaleFactorY = always_decimal_format($fullHeight / 720.0); #extension GL_ARB_shading_language_packing : enable // shader fc3e63a2007625f8 // Fixed radius blur -// main menu h +// main menu v const float resXScale = ; const float resYScale = ; @@ -63,7 +63,7 @@ R126f.z = (0.0 > R1f.x)?1.0:0.0; R126f.z /= 2.0; R127f.w = 1.0; PV0f.w = R127f.w; -R126f.x = intBitsToFloat(uf_remappedVS[0].w) / resXScale * intBitsToFloat(0x3fae8a72); +R126f.x = intBitsToFloat(uf_remappedVS[0].w) / resYScale * intBitsToFloat(0x3fae8a72); PS0f = R126f.x; // 1 R0f.x = dot(vec4(R1f.x,R1f.y,R1f.z,PV0f.w),vec4(intBitsToFloat(uf_remappedVS[1].x),intBitsToFloat(uf_remappedVS[1].y),intBitsToFloat(uf_remappedVS[1].z),intBitsToFloat(uf_remappedVS[1].w)));