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

Alpha blending of child sprites incorrect #171

Closed
ihfdayton opened this issue Apr 11, 2018 · 1 comment
Closed

Alpha blending of child sprites incorrect #171

ihfdayton opened this issue Apr 11, 2018 · 1 comment
Assignees

Comments

@ihfdayton
Copy link
Collaborator

Any sprite that is the child of another demonstrates strange transparency artifact around the edge of the sprite. This is most noticeable in menus, particularly the options menu.

Essentially, the child sprite "cuts through" the parent object, showing the world behind instead of blending with the parent color.

Strangely, this only happens around the immediate edge of the sprite (perhaps where alpha isn't 0 or 1?).

Possible issue with discarding fragments prematurely in Sprite shader?

@playmer
Copy link
Owner

playmer commented Apr 12, 2018

Mostly fixed by: #173

@playmer playmer closed this as completed Apr 12, 2018
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

3 participants