Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] Bundle the PIXEL_AA shader for scaling pixel art #338

Open
eierfrucht opened this issue Jul 31, 2024 · 0 comments
Open

[Idea] Bundle the PIXEL_AA shader for scaling pixel art #338

eierfrucht opened this issue Jul 31, 2024 · 0 comments

Comments

@eierfrucht
Copy link

eierfrucht commented Jul 31, 2024

PIXEL_AA by Shiku is a neat shader allowing for upscaling pixel art from any resolution to any resolution with the result still looking pretty much like proper integer scaling, here's 320x200 (top) upscaled to 1728x1080 (bottom) in cnc-ddraw:

https://i.postimg.cc/fDW6TnF2/pixel-aa-sample.png

Or more broadly, it preserves an (almost) untampered look as if a game were running on a CRT screen at its native resolution.

    Features:
    - Sharp upscaling with anti-aliasing
    - Subpixel upscaling
    - Sharpness can be controlled
    - Gamma correct blending
    - Integer scales result in pixel-perfect scaling
    - Can use bilinear filtering for max. performance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant