summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/prescale.fx
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2011-08-28 09:10:53 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2011-08-28 09:10:53 +0000
commit4523bfa2d08b246da0fcbd4b4523aee7531b9170 (patch)
treef61ee8458b16ecb636bed88ceef5b53c8fca3fa3 /hlsl/prescale.fx
parent1bf5ecd874d9404faa7988eaa1dba3924912431e (diff)
HLSL "Hurricain't Keep A Good Dev Down" Bugfix Extravaganza: [Ryan Holtz, Bat
Country Entertainment] - Created two flags, -hlsl_ini_write and -hlsl_ini_read. The former enables custom HLSL INI writing explicitly, the other enables loading of the same. - Fixed disappearing aperture effect when using custom INI files. - Fixed diagonal seam on some games, for serious real this time - Fixed phosphor simulation, now works as expected
Diffstat (limited to 'hlsl/prescale.fx')
-rw-r--r--hlsl/prescale.fx4
1 files changed, 2 insertions, 2 deletions
diff --git a/hlsl/prescale.fx b/hlsl/prescale.fx
index 6b3dff8d058..10420af1b85 100644
--- a/hlsl/prescale.fx
+++ b/hlsl/prescale.fx
@@ -58,8 +58,8 @@ VS_OUTPUT vs_main(VS_INPUT Input)
Output.Position.x -= 0.5f;
Output.Position.y -= 0.5f;
Output.Position *= float4(2.0f, 2.0f, 1.0f, 1.0f);
-
- Output.TexCoord = Input.TexCoord;
+
+ Output.TexCoord = Input.TexCoord + 0.5f / float2(TargetWidth, TargetHeight);
return Output;
}