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

Enable alpha test when using vertex alpha in some cases #15504

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bghgary
Copy link
Contributor

@bghgary bghgary commented Aug 30, 2024

This change addresses some edge cases tested by a new test model in the glTF sample assets repo: KhronosGroup/glTF-Sample-Assets#146.

The issue is that alpha test is not taking into account whether a mesh has vertex alpha or not.

Before:
image

After:
image

TODO

  • Add test once new test model is merged

@bghgary bghgary requested a review from sebavan August 30, 2024 16:18
@bjsplat
Copy link
Collaborator

bjsplat commented Aug 30, 2024

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 30, 2024

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 30, 2024

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 30, 2024

@bjsplat
Copy link
Collaborator

bjsplat commented Sep 5, 2024

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15504/merge/testResults/webgl1/index.html

If tests were successful afterwards, this report might not be available anymore.

@bjsplat
Copy link
Collaborator

bjsplat commented Sep 5, 2024

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15504/merge/testResults/webgl1/index.html

If tests were successful afterwards, this report might not be available anymore.

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

Successfully merging this pull request may close these issues.

5 participants