summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl')
-rw-r--r--hlsl/post.fx5
1 files changed, 3 insertions, 2 deletions
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;