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

Add Alpha to Coverage #9

Closed
JohannesDeml opened this issue Oct 25, 2019 · 1 comment
Closed

Add Alpha to Coverage #9

JohannesDeml opened this issue Oct 25, 2019 · 1 comment

Comments

@JohannesDeml
Copy link
Member

Alpha to Coverage is used for anti aliasing Cutout borders with MSAA.

See https://medium.com/@bgolus/anti-aliased-alpha-test-the-esoteric-alpha-to-coverage-8b177335ae4f

@JohannesDeml
Copy link
Member Author

JohannesDeml commented Oct 25, 2019

Before:
grafik

After:
grafik

It is important to use Mipmaps preserve Coverage in the texture, so it won't fade out when a lower mipmap level is used. More Information
grafik

Please note, that A2C will only with with MSAA enabled!

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