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

MSAA Antialiasing #327

Open
vorg opened this issue Nov 7, 2022 · 0 comments
Open

MSAA Antialiasing #327

vorg opened this issue Nov 7, 2022 · 0 comments

Comments

@vorg
Copy link
Member

vorg commented Nov 7, 2022

Even if MSAA FBO is supported in pex-context pex-gl/pex-context#115 we will still have issue with HDR as currently tonemapping is done after rendering to texture. As MSAA doesn't work properly with HDR values the actual order of operations should be:

render scene -> tonemap -> msaa resolve -> inverse tonemap -> e.g. hdr bloom -> draw to screen

More info about inverse tonemapping
HDR inverse tone mapping MSAA resolve
A Quick Overview of MSAA
Tone mapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant