From 67682d470a60256d3c8cb5635cdccfff466c9e8e Mon Sep 17 00:00:00 2001 From: hizzlekizzle Date: Fri, 6 Apr 2018 13:44:11 -0500 Subject: [PATCH] texcoord rounding change to fix some artifacts --- xbr/shaders/xbr-mlv4-multipass/xbr-mlv4-pass4.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbr/shaders/xbr-mlv4-multipass/xbr-mlv4-pass4.slang b/xbr/shaders/xbr-mlv4-multipass/xbr-mlv4-pass4.slang index 57e5c30..6a0bb58 100644 --- a/xbr/shaders/xbr-mlv4-multipass/xbr-mlv4-pass4.slang +++ b/xbr/shaders/xbr-mlv4-multipass/xbr-mlv4-pass4.slang @@ -117,7 +117,7 @@ layout(location = 2) out float scale_factor; void main() { gl_Position = global.MVP * Position; - vTexCoord = TexCoord * vec2(1.0004, 0.9995); + vTexCoord = TexCoord * 1.0001; float2 ps = float2(1.0/params.REFSize.x, 1.0/params.REFSize.y); float dx = ps.x; float dy = ps.y;