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] Add support for custom resolve of MSAA buffers #2086

Open
Froyok opened this issue Jul 15, 2024 · 0 comments
Open

[Request] Add support for custom resolve of MSAA buffers #2086

Froyok opened this issue Jul 15, 2024 · 0 comments
Labels
feature New feature or request

Comments

@Froyok
Copy link

Froyok commented Jul 15, 2024

While love supports MSAA textures, it automatically resolves them when they are binded to a shader. This is a problem in my case as I would like to resolve them myself instead. The main reason being that I render HDR content and would need to tonemap the samples by hand before combining them.

For concrete examples, see the following blog posts:

Custom resolve could also open the door to more advanced tricks as well.

I personally don't a preferred way to achieve this.

This could be either an boolean option in when creating the texture/canvas to specify that it shouldn't be automatically resolved, or more implicit depending where it is binded (for example: binding in a compute shader wouldn't trigger the automatic resolve). I imagine ideally an explicit setting/process would be better.

@slime73 slime73 added the feature New feature or request label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants