From aa19b2633cec92ffd49163c047f35092a5003a8c Mon Sep 17 00:00:00 2001 From: Ryan Holtz Date: Thu, 28 Feb 2013 05:22:14 +0000 Subject: (nw) Fixed sliders and phosphor offset --- hlsl/phosphor.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hlsl') diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx index f6ba4573c49..f48417459c4 100644 --- a/hlsl/phosphor.fx +++ b/hlsl/phosphor.fx @@ -80,7 +80,7 @@ VS_OUTPUT vs_main(VS_INPUT Input) Output.Color = Input.Color; float2 InvTexSize = float2(1.0f / TextureWidth, 1.0f / TextureHeight); - Output.TexCoord = Input.TexCoord + float2(1.0f, 1.0f) * InvTexSize; + Output.TexCoord = Input.TexCoord + float2(0.5f, 0.5f) * InvTexSize; Output.PrevCoord = Output.TexCoord; return Output; -- cgit v1.2.3-70-g09d2