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

Pixellate or Sharp Bilinear shader implementation #103

Closed
ribolovac510 opened this issue Aug 31, 2021 · 3 comments
Closed

Pixellate or Sharp Bilinear shader implementation #103

ribolovac510 opened this issue Aug 31, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ribolovac510
Copy link

Hello, I was wondering if it would be possible to implement Pixellate or Sharp Bilinear shader for upscaling pixel graphics. This would be useful for users who want to upscale games with pixel graphics with non-integer scaling and maintain the sharp pixel look without shimmering and non-square pixels.

Here's an explanation what these shaders do:
https://filthypants.blogspot.com/2017/01/shaders-for-sharpest-pixels.html
and also their implementation in libretro/RetroArch for example:
https://github.com/libretro/common-shaders/blob/master/interpolation/shaders/pixellate.cg
https://github.com/libretro/common-shaders/blob/master/interpolation/shaders/sharp-bilinear.cg

@Blinue Blinue added the enhancement New feature or request label Aug 31, 2021
@Blinue
Copy link
Owner

Blinue commented Aug 31, 2021

There has been a feature request for pixel art #62.

It's not hard to port these shaders and I will port them after the refactoring is done.

@ribolovac510
Copy link
Author

Cool, xBRZ produces rounder shapes while these shaders produce more of a blocky retro looking image, all in all having lots of different upscaling options so users can pick and choose based on their preferences is great.
Thank you very much for you work, looking forward to future releases! :)

@Blinue Blinue mentioned this issue Aug 31, 2021
19 tasks
@Blinue
Copy link
Owner

Blinue commented Oct 29, 2021

Pixellate and Sharp Bilinear have been ported in the master branch. They will be released in v0.7

@Blinue Blinue closed this as completed Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants