diff options
author | 2016-04-13 19:21:57 +0200 | |
---|---|---|
committer | 2016-04-13 19:21:57 +0200 | |
commit | 32f0e6efac8b51dbdc11b390b64753227cbb6180 (patch) | |
tree | af19990b09f731d098ca93781b732e0724ebf7e9 /hlsl/bloom.fx | |
parent | 6be4d8312ccf4d9b5fde5fc2b5094e637fbdf7d7 (diff) |
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
Diffstat (limited to 'hlsl/bloom.fx')
-rw-r--r-- | hlsl/bloom.fx | 4 |
1 files changed, 1 insertions, 3 deletions
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; |