Is it that you’re compositing the raw image with the image + scanlines?
Oh, I now read the code and I was wondering why something like this didn’t exist before. It’s basically a kind of “Smart Scanlines with Brightness Feedback”.
Something like this in CRT-Guest-Advanced would surely make my life a lot easier!
Another thing I thought about was clipping and saturation aware Smart Brightness control.
Currently I use different settings to compensate for the loss of brightness when using full strength mask and scanlines. If I use the post CRT Brightness Setting alone for example, 2 things might happen when pushed too far, saturation decreases giving a washed out look and white clipping occurs. I manually adjust the saturation to put back what is lost and I try to be very conservative with pushing brightness via these software multiplier controls to avoid clipping.
I can’t help but thinking, if these controls were a little more “aware” of the undesirable effects and automatically compensate for them, that would have been awesome.
So a CRT Brightness control that maybe tapers off its strength logarithmically in order to avoid clipping and that has a nice range limit that’s calibrated to some standard to avoid clipping altogether would be nice - (Anti-whiteclip or Anti-burn).
That way, us shader preset developers can just crank it up nicely to where we want without having to worry about going too far.
The next aspect of this would be that the saturation is increased automatically as brightness is increased - (Anti-washout).
I even had an idea to generate more accurate “fake scanlines” by basing them on the location of where they would have been at native resolution instead of manually specifying the number.
Brilliant out of the box thinking! @DariusG