diff options
author | 2011-05-23 15:49:50 +0000 | |
---|---|---|
committer | 2011-05-23 15:49:50 +0000 | |
commit | f8a449539a149eb3d9aceeab2f4f49e5905319e7 (patch) | |
tree | 1afd3a7879b5d7e16d5abcb5b352d3c439822416 /hlsl/color.fx | |
parent | b756d28cb28584832d6842445c442e9f3d0392f1 (diff) |
Hopefully fixing the HLSL UV issue once and for all, nw
Diffstat (limited to 'hlsl/color.fx')
-rw-r--r-- | hlsl/color.fx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |