Hey there,
for some setups I like to have just a trinitron mask, without scanlines. I noticed that using easymode-halation allows to set “Scanline Type” to 3, which means there are no scanlines at all.
I then took a look into guest-dr-venom, where only scanline types from 0 to 2 only exist. So I “tweaked” the shader a little bit to allow scanline type 3. Now if you want to have an additional option to use the guest-dr-venom shader without scanlines, just do the following:
Open file “shaders\shaders_slang\crt\shaders\HyperspaceMadness\hsm-crt-guest-dr-venom-with-scaling.inc”
Replace the line containg this:
#pragma parameter gsl "Scanline Type" 0.0 0.0 2.0 1.0
by:
#pragma parameter gsl "Scanline Type" 0.0 0.0 3.0 1.0
And then replace:
if (gsl == 2.0) { w1 = sw2(f1,cref1,shape1); w2 = sw2(f2,cref2,shape2);}
by:
if (gsl == 2.0) { w1 = sw2(f1,cref1,shape1); w2 = sw2(f2,cref2,shape2);} else
{ w1 = vec3(f2); w2 = vec3(f1);}
That’s it. Now you can choose Scanline Type 3 whenever you don’t want to have scanlines.
Here’s an example with disabled scanlines:
@HyperspaceMadness: maybe you would like to consider implementing this small change into your master repo? It doesn’t do any harm (at least I guess), because it doesn’t need any additional parameter. It just adds an additional option. And if it’s part of “master” I wouldn’t have to apply these changes everytime there is a new version
But maybe there is a reason why Scanline Type 3 doesn’t exist by default?