Screen filter(such as super2xsai) support?

Open-source port of PoP that runs natively on Windows, Linux, etc.

Moderator: English Moderator Team

Post Reply
User avatar
Posts: 133
Joined: March 8th, 2009, 4:48 pm

Screen filter(such as super2xsai) support?

Post by starwindz » April 17th, 2017, 3:54 am

Is there any plan to support screen filer such as super2xsai? I think that screen filters are needed for visual enhancement.

Wise Scribe
Wise Scribe
Posts: 369
Joined: June 25th, 2009, 10:01 pm

Re: Screen filter(such as super2xsai) support?

Post by Falcury » September 15th, 2017, 2:50 pm

I think SDL itself only provides the SDL_HINT_RENDER_SCALE_QUALITY hint for controlling the scaling method.
For SDLPoP that's currently left at the default setting (= nearest pixel sampling).
We could easily add an option to enable linear filtering, but that basically only causes blurring...
I'm not familiar with other scaling methods like super2xSAI, but it sounds interesting.

I found this long list of pixel scaling algorithms on Wikipedia: ... algorithms

And here some other pages, where they compare several algorithms for the same input image: ... ic_filters

If we want to add something like this, maybe it would be best to use GPU shaders...
I found this example of a GPU implementation (in GLSL) of the AdvMAME2x filter:
(linked from this blog post:

Post Reply