From 32f0e6efac8b51dbdc11b390b64753227cbb6180 Mon Sep 17 00:00:00 2001 From: ImJezze Date: Wed, 13 Apr 2016 19:21:57 +0200 Subject: Removed hacks for vector screens from shaders (nw) - added handling of texture coordinates for vector screens to core render - added handling of orientation/rotation for vector screens to D3D renderer --- hlsl/bloom.fx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hlsl/bloom.fx') diff --git a/hlsl/bloom.fx b/hlsl/bloom.fx index 5911e1ee8b5..db23995d55b 100644 --- a/hlsl/bloom.fx +++ b/hlsl/bloom.fx @@ -278,9 +278,7 @@ VS_OUTPUT vs_main(VS_INPUT Input) Output.TexCoord = TexCoord.xy; - TexCoord += VectorScreen - ? 0.5f / TargetDims.xy - : 0.5f / SourceDims.xy; + TexCoord += 0.5f / SourceDims; Output.BloomCoord = TexCoord.xy; -- cgit v1.2.3-70-g09d2