From 2a3bd8b8d0b99316e18f5685767d76afb788a6d5 Mon Sep 17 00:00:00 2001 From: ImJezze Date: Sat, 7 Nov 2015 12:03:13 +0100 Subject: Cleanup - removed duplicate prescale fields - made visibility of HLSL options depending on screen type - disabled scanlines for LCD screen type --- hlsl/post.fx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hlsl') diff --git a/hlsl/post.fx b/hlsl/post.fx index 70b374179c4..b457b9687e2 100644 --- a/hlsl/post.fx +++ b/hlsl/post.fx @@ -87,6 +87,7 @@ 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) { @@ -204,8 +205,8 @@ float4 ps_main(PS_INPUT Input) : COLOR // Scanline Simulation (may not affect bloom) if (!PrepareBloom) { - // Scanline Simulation (disabled for vector) - if (!PrepareVector) + // Scanline Simulation (only for raster screen) + if (PrepareRaster) { float InnerSine = BaseCoord.y * ScanlineScale * SourceDims.y; float ScanJitter = ScanlineOffset * SourceDims.y; -- cgit v1.2.3-70-g09d2