summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/post.fx
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2015-05-09 11:51:06 +0200
committer ImJezze <jezze@gmx.net>2015-05-09 11:51:06 +0200
commit871900fe1e18ef864a87b570c67342c9f83557e8 (patch)
treeda8ef74ad436fbc7fa100a2e540fe2b00209186f /hlsl/post.fx
parentf940c884a08510c487b27794e9aabc2df65a3456 (diff)
Fixed automatic Shadow Mask rotation
- added missing RotationSwapXY shader paramter
Diffstat (limited to 'hlsl/post.fx')
-rw-r--r--hlsl/post.fx1
1 files changed, 1 insertions, 0 deletions
diff --git a/hlsl/post.fx b/hlsl/post.fx
index 4b801adc38f..6e65ed71f41 100644
--- a/hlsl/post.fx
+++ b/hlsl/post.fx
@@ -75,6 +75,7 @@ uniform float2 ShadowUVOffset = float2(0.0f, 0.0f);
uniform float2 Prescale = float2(8.0f, 8.0f);
uniform bool OrientationSwapXY = false; // false landscape, true portrait for default screen orientation
+uniform bool RotationSwapXY = false; // swapped default screen orientation due to screen rotation
uniform bool PrepareBloom = false; // disables some effects for rendering bloom textures
VS_OUTPUT vs_main(VS_INPUT Input)