diff --git a/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt b/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt index 6a521d3c..a8d90795 100644 --- a/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt +++ b/Source/XenobladeX/59df1c7e1806366c_00000000000003c9_ps.txt @@ -253,7 +253,7 @@ R4i.x = ((PV0i.w == 0)?(R127i.x):(R127i.z)); R4i.y = ((PV0i.w == 0)?(R127i.w):(R126i.y)); R4i.z = ((PV0i.w == 0)?(R126i.z):(R126i.w)); } -vec2 uv = gl_FragCoord.xy / (vec2(1280.0, 720.0)*uf_fragCoordScale); +vec2 uv = gl_FragCoord.xy / textureSize(textureUnitPS1, 0); vec4 sharpColour = vec4(texture(textureUnitPS1, uv).xyz - edgeStrength(uv) * sharpen_strength, 1.0); // export diff --git a/Source/XenobladeX/rules.txt b/Source/XenobladeX/rules.txt index 91e0c8b9..af034278 100644 --- a/Source/XenobladeX/rules.txt +++ b/Source/XenobladeX/rules.txt @@ -79,7 +79,7 @@ overwriteHeight = [TextureRedefine] # half-res alpha width = 640 height = 360 -formatsExcluded = 0x41A,0x033,0x031,0x001 #dialog prompt fixes, XCX Logo NLA exclude obvious textures +formatsExcluded = 0x41A,0x033,0x031 #dialog prompt fixes, XCX Logo NLA exclude obvious textures tileModesExcluded = 0x001 overwriteWidth = overwriteHeight =