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

Anti-Aliasing #144

Open
RafeHall opened this issue May 30, 2022 · 0 comments
Open

Anti-Aliasing #144

RafeHall opened this issue May 30, 2022 · 0 comments

Comments

@RafeHall
Copy link

Add support for some kind of anti-aliasing to meshes.

Some methods would be:

  • MSAA which would bring about the problem of wgpu only supported 4xMSAA or none.
  • SSAA expensive but would work irrelevant of backend but requires a whole new render pass to achieve.
  • FXAA same as SSAA in that it would require a new render pass however is much more lightweight but can produce less than stellar results at times.
  • Custom shader for meshes that smooths the edges, this could be done in the fragment shader not requiring an additional pass but will need a new pipeline if it gets used at the same time as any non-anti-aliased things.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant