summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/post.fx
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl/post.fx')
-rw-r--r--hlsl/post.fx5
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;