diff options
author | 2015-12-24 14:06:01 +0100 | |
---|---|---|
committer | 2015-12-24 14:06:01 +0100 | |
commit | 099f547d05856238f5879803c794ea3a233c5d55 (patch) | |
tree | c7b6a5ec682045411885060c9cc60b2cc79e2596 /hlsl | |
parent | b1f1300517ef287411a5d4aa25cac4e89a65b6e5 (diff) |
Fixed HLSL for LCD screen type
- fixed wrong detection of vector screen, which meant that a LCD screen
was also detected as vector screen
- re-enabled scan-line and other CRT related sliders for LCD screens
Diffstat (limited to 'hlsl')
-rw-r--r-- | hlsl/post.fx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hlsl/post.fx b/hlsl/post.fx index 7ab09b45ddb..c794d0b01af 100644 --- a/hlsl/post.fx +++ b/hlsl/post.fx @@ -88,7 +88,6 @@ uniform bool RotationSwapXY = false; // swapped default screen orientation due t uniform bool PrepareBloom = false; // disables some effects for rendering bloom textures uniform bool PrepareVector = false; -uniform bool PrepareRaster = false; VS_OUTPUT vs_main(VS_INPUT Input) { @@ -235,8 +234,8 @@ float4 ps_main(PS_INPUT Input) : COLOR // Scanline Simulation (may not affect bloom) if (!PrepareBloom) { - // Scanline Simulation (only for raster screen) - if (PrepareRaster) + // Scanline Simulation (may not affect vector screen) + if (!PrepareVector) { float InnerSine = BaseCoord.y * ScanlineScale * SourceDims.y; float ScanJitter = ScanlineOffset * SourceDims.y; |