summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/phosphor.fx
diff options
context:
space:
mode:
authorGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2013-01-21 02:40:48 +0000
committerGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2013-01-21 02:40:48 +0000
commitd157249cb74fe849effaef21c1676a8cf17474e4 (patch)
treedb3388ea55fde34ff34e5f9f42da0521ebc6ea5e /hlsl/phosphor.fx
parent7f3372abf3800e185fa56b51d137e0c47e3357df (diff)
d3dhlsl.c: Add preliminary vector post-processing. [MooglyGuy]
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r--hlsl/phosphor.fx8
1 files changed, 1 insertions, 7 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx
index 40d97cbf3ee..f6ba4573c49 100644
--- a/hlsl/phosphor.fx
+++ b/hlsl/phosphor.fx
@@ -61,12 +61,6 @@ struct PS_INPUT
uniform float TargetWidth;
uniform float TargetHeight;
-uniform float RawWidth;
-uniform float RawHeight;
-
-uniform float WidthRatio;
-uniform float HeightRatio;
-
uniform float TextureWidth;
uniform float TextureHeight;
@@ -86,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(0.5f, 0.5f) * InvTexSize;
+ Output.TexCoord = Input.TexCoord + float2(1.0f, 1.0f) * InvTexSize;
Output.PrevCoord = Output.TexCoord;
return Output;