I've been experimenting with the scanlines scaling filter in the Snes 9x GTK port (on Linux). It's pretty strange and I'm wondering what the advantage of it is supposed to be.
In the Windows port there's a simple scanlines output mode which just makes every other row black. That's nice and can give a TV-like effect, at the expense of the brightness being reduced by half.
I assume the GTK port scanlines filter is intended to work around the reduced-brightness issue. However makes colours look washed-out and can cause strange graphical artifacts. In particular, white areas don't have any visible scanlines because the GTK scanlines code makes the intermediate lines white also.
Would there be any interest in my modifying the current scanlines filter to be simpler, like the Windows one except with variable intermediate line brightness? (You could have intermediate lines at 50% brightness so as not to reduce the overall brightness as much.)
Scanlines scaling filter in GTK Snes9x port
Scanlines scaling filter in GTK Snes9x port
- Attachments
-
- Super Mario All-Stars, scanlines 25%
- SMAllStars_Scanlines25_pngout.png (51.19 KiB) Viewed 27591 times
-
- Super Mario All-Stars, scanlines 100%
- SMAllStars_Scanlines100_pngout.png (38.48 KiB) Viewed 27591 times
-
- Super Mario All-Stars, no scanlines
- SMAllStars_NoScanlines_pngout.png (29.39 KiB) Viewed 27591 times
Re: Scanlines scaling filter in GTK Snes9x port
Notice the artifacts with 100% scanlines vs no scanline effect. See the top of the larger BITMAP BROTHERS text.
- Attachments
-
- Bitmap Bros logo with 100% scanlines
- GodsBitmapBrosScanlines100.png (14.32 KiB) Viewed 27590 times
-
- Bitmap Bros logo with no scanlines
- GodsBitmapBrosNoScanlines.png (12.84 KiB) Viewed 27590 times
-
- Snes9x White Belt
- Posts: 32
- Joined: Thu May 02, 2013 2:33 pm
Re: Scanlines scaling filter in GTK Snes9x port
This can be done with using multiple shader passes in Windows as well ![Wink ;-)](./images/smilies/icon_wink.gif)
![Wink ;-)](./images/smilies/icon_wink.gif)