summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/phosphor.fx
diff options
context:
space:
mode:
authorGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2013-02-28 05:22:14 +0000
committerGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2013-02-28 05:22:14 +0000
commitaa19b2633cec92ffd49163c047f35092a5003a8c (patch)
treea605c7db18e39f68efea032dca6ffecccb9e4ebb /hlsl/phosphor.fx
parent6f52503894027ea1c7d1a18bd8ca5a3419d22748 (diff)
(nw) Fixed sliders and phosphor offset
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r--hlsl/phosphor.fx2
1 files changed, 1 insertions, 1 deletions
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;