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

[REQUEST] Supersampling #60

Open
hurleybird opened this issue Sep 18, 2024 · 3 comments
Open

[REQUEST] Supersampling #60

hurleybird opened this issue Sep 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@hurleybird
Copy link

I played around with Piccu engine in 4K for awhile, but came to the conclusion that the game looked much more coherent at a lower resolution.

I'm currently enjoying 1366x768 with MSSA, and graphically I like the look of the game more with these settings.

An option to use SSAA rather than MSAA would create an even smoother, more robust image, and help reduce noise in textures with small, high contrast, repeating details.

@InsanityBringer InsanityBringer added the enhancement New feature or request label Sep 19, 2024
@leilei-
Copy link

leilei- commented Oct 6, 2024

Keeping an eye on this myself as it'd require shaders. Only OpenGL knows of MSAA so it's not trivial.

OpenArena/engine#87

@hurleybird
Copy link
Author

Doubt it needs shaders. I'd be surprised if there wasn't a way to render at a higher resolution and then downsample.

@hurleybird hurleybird changed the title [QEQUEST] Supersampling [REQUEST] Supersampling Oct 6, 2024
@InsanityBringer
Copy link
Owner

The downsampling is the tricky part. Simply blitting it to the smaller output framebuffer won't accumulate samples, even if you use GL_LINEAR as your minification filter. At least for higher sample counts, it might be possible to coax out a simple 4x scheme if you're careful with your texture coords and only make the offscreen buffer 2x as large.

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

3 participants