diff --git a/Enhancements/BreathOfTheWild_!AntiAliasing/0f2b9ee517917425_00000000000003c9_ps.txt b/Enhancements/BreathOfTheWild_!AntiAliasing/0f2b9ee517917425_00000000000003c9_ps.txt index ba6f9555..b393af7d 100644 --- a/Enhancements/BreathOfTheWild_!AntiAliasing/0f2b9ee517917425_00000000000003c9_ps.txt +++ b/Enhancements/BreathOfTheWild_!AntiAliasing/0f2b9ee517917425_00000000000003c9_ps.txt @@ -25,8 +25,8 @@ layout(location = 0) in vec4 passParameterSem2; layout(location = 0) out vec4 passPixelColor0; uniform vec2 uf_fragCoordScale; ivec2 resDim = textureSize2D(textureUnitPS0,0); -const float resXScale = float(resDim.x)/1280; -const float resYScale = float(resDim.y)/720; +const int resXScale = int( float(resDim.x)/1280 + 0.5 ); //We need to round up +const int resYScale = int( float(resDim.y)/720 + 0.5 ); //We need to round up int clampFI32(int v) { if( v == 0x7FFFFFFF ) @@ -1014,4 +1014,4 @@ void main() { passPixelColor0 = FxaaPixelShader(passParameterSem2.xy, textureUnitPS0, textureUnitPS1, RcpFrame, Subpix, EdgeThreshold, EdgeThresholdMin); } -#endif \ No newline at end of file +#endif diff --git a/Enhancements/BreathOfTheWild_!AntiAliasing/disabled_58b8411478181d7f_0000000000000079_ps.txt b/Enhancements/BreathOfTheWild_!AntiAliasing/disabled_58b8411478181d7f_0000000000000079_ps.txt deleted file mode 100644 index ac9a3b8f..00000000 --- a/Enhancements/BreathOfTheWild_!AntiAliasing/disabled_58b8411478181d7f_0000000000000079_ps.txt +++ /dev/null @@ -1,17 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 58b8411478181d7f - -layout(binding = 0) uniform sampler2D textureUnitPS0; -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; - -void main() -{ -vec3 R0f = texture(textureUnitPS0, passParameterSem2.xy).xyz; -R0f.x = dot(R0f, vec3(0.299, 0.587, 0.114)); -R0f.x = pow(R0f.x, 0.45); -// export -passPixelColor0 = vec4(R0f.x); -} diff --git a/Enhancements/BreathOfTheWild_!AntiAliasing/disabled_58b84124c01721ff_0000000000000079_ps.txt b/Enhancements/BreathOfTheWild_!AntiAliasing/disabled_58b84124c01721ff_0000000000000079_ps.txt deleted file mode 100644 index 3531da5e..00000000 --- a/Enhancements/BreathOfTheWild_!AntiAliasing/disabled_58b84124c01721ff_0000000000000079_ps.txt +++ /dev/null @@ -1,17 +0,0 @@ -#version 420 -#extension GL_ARB_texture_gather : enable -// shader 58b84124c01721ff - -layout(binding = 0) uniform sampler2D textureUnitPS0; -layout(location = 0) in vec4 passParameterSem2; -layout(location = 0) out vec4 passPixelColor0; -uniform vec2 uf_fragCoordScale; - -void main() -{ -vec3 R0f = texture(textureUnitPS0, passParameterSem2.xy).xyz; -R0f.x = dot(R0f, vec3(0.299, 0.587, 0.114)); -R0f.x = pow(R0f.x, 0.45); -// export -passPixelColor0 = vec4(R0f.x); -} diff --git a/Resolutions/BreathOfTheWild_Resolution/rules.txt b/Resolutions/BreathOfTheWild_Resolution/rules.txt index e3787b7a..b7c8e862 100644 --- a/Resolutions/BreathOfTheWild_Resolution/rules.txt +++ b/Resolutions/BreathOfTheWild_Resolution/rules.txt @@ -37,6 +37,13 @@ $gameHeight = 720 // Common HD Resolutions +[Preset] +name = 1600x900 +$width = 1600 +$height = 900 +$gameWidth = 1280 +$gameHeight = 720 + [Preset] name = 1920x1080 $width = 1920