From f8a449539a149eb3d9aceeab2f4f49e5905319e7 Mon Sep 17 00:00:00 2001 From: Ryan Holtz Date: Mon, 23 May 2011 15:49:50 +0000 Subject: Hopefully fixing the HLSL UV issue once and for all, nw --- hlsl/color.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hlsl/color.fx') diff --git a/hlsl/color.fx b/hlsl/color.fx index 3aa8c99e4ca..b28fb2c3000 100644 --- a/hlsl/color.fx +++ b/hlsl/color.fx @@ -109,7 +109,7 @@ uniform float BluPower = 2.2f; float4 ps_main(PS_INPUT Input) : COLOR { - float4 BaseTexel = tex2D(DiffuseSampler, Input.TexCoord + 0.5f / float2(RawWidth, RawHeight)); + float4 BaseTexel = tex2D(DiffuseSampler, Input.TexCoord + 0.5f / float2(-RawWidth, -RawHeight)); float3 OutRGB = BaseTexel.rgb; -- cgit v1.2.3