Snes9x.com
http://www.snes9x.com/phpbb3/

Scanlines scaling filter in GTK Snes9x port
http://www.snes9x.com/phpbb3/viewtopic.php?f=8&t=12768
Page 1 of 1

Author:  mark_k [ Mon Mar 31, 2014 4:49 pm ]
Post subject:  Scanlines scaling filter in GTK Snes9x port

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.)

Attachments:
File comment: Super Mario All-Stars, scanlines 25%
SMAllStars_Scanlines25_pngout.png
SMAllStars_Scanlines25_pngout.png [ 51.19 KiB | Viewed 7947 times ]
File comment: Super Mario All-Stars, scanlines 100%
SMAllStars_Scanlines100_pngout.png
SMAllStars_Scanlines100_pngout.png [ 38.48 KiB | Viewed 7947 times ]
File comment: Super Mario All-Stars, no scanlines
SMAllStars_NoScanlines_pngout.png
SMAllStars_NoScanlines_pngout.png [ 29.39 KiB | Viewed 7947 times ]

Author:  mark_k [ Mon Mar 31, 2014 4:51 pm ]
Post subject:  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:
File comment: Bitmap Bros logo with 100% scanlines
GodsBitmapBrosScanlines100.png
GodsBitmapBrosScanlines100.png [ 14.32 KiB | Viewed 7946 times ]
File comment: Bitmap Bros logo with no scanlines
GodsBitmapBrosNoScanlines.png
GodsBitmapBrosNoScanlines.png [ 12.84 KiB | Viewed 7946 times ]

Author:  WalMartCartPusher [ Sat Apr 05, 2014 2:13 am ]
Post subject:  Re: Scanlines scaling filter in GTK Snes9x port

This can be done with using multiple shader passes in Windows as well ;-)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/