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

Clarify Premultiplied Alpha #85

Open
NoelFB opened this issue Apr 23, 2024 · 0 comments
Open

Clarify Premultiplied Alpha #85

NoelFB opened this issue Apr 23, 2024 · 0 comments

Comments

@NoelFB
Copy link
Collaborator

NoelFB commented Apr 23, 2024

One of the biggest issues people immediately run into is rendering with/without premultiplied Alpha. By default the Sprite Batcher uses Premultiplied alpha, and the Color struct multiply operator does the same. I think these assumptions are correct and should be the default, but it needs to be more clear that any images loaded that are not already premultiplied must do so.

I'm not sure if this is just a documentation / FAQ issue, or something that should change in the actual API

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