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

[Feature Request] Add option for bilinear downscaling #138

Open
EPeanutG opened this issue Mar 17, 2025 · 1 comment
Open

[Feature Request] Add option for bilinear downscaling #138

EPeanutG opened this issue Mar 17, 2025 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@EPeanutG
Copy link

Would it be possible to implement a downscaling algorithm that can actually downsample? (ex: bilinear downsampling) The default downscaling in ShaderGlass right now (with the "Pixel Size" option) looks pretty jagged, without much anti-aliasing.

Comparison:

  • Original image
    Image
  • Downscaled with ShaderGlass
    Image
  • Downscaled with Photoshop (bilinear resampling option)
    Image

With crt-royale applied:

  • ShaderGlass downscaling
    Image
  • Photoshop bilinear downscaling
    Image

The difference is particularly noticeable on Bowser's spikes, which are much more smooth with bilinear downsampling.

@mausimus
Copy link
Owner

I see, it's a pretty unique use case where you have hi-res & low-res output from the emulator at the same time. Pixel Size option in SG is there to match pre-scaling of the input so shaders can correctly calculate scanlines. But I should be able to add linear filter option, it's pretty straightforward.

@mausimus mausimus added the enhancement New feature or request label Mar 17, 2025
@mausimus mausimus added this to the v1.2 milestone Mar 26, 2025
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