summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2015-11-07 12:03:13 +0100
committer ImJezze <jezze@gmx.net>2015-11-07 12:03:36 +0100
commit2a3bd8b8d0b99316e18f5685767d76afb788a6d5 (patch)
tree1919af22fa6d39942c62ad38ceb47dd37fb3e2be /hlsl
parentd70ccc7ba30af5f60c54b94e3d169f3da9d06d79 (diff)
Cleanup
- removed duplicate prescale fields - made visibility of HLSL options depending on screen type - disabled scanlines for LCD screen type
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;