Enable alpha test when using vertex alpha in some cases#15504
Enable alpha test when using vertex alpha in some cases#15504bghgary wants to merge 3 commits intoBabylonJS:masterfrom
Conversation
|
Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s). |
|
Snapshot stored with reference name: Test environment: To test a playground add it to the URL, for example: https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15504/merge/index.html#WGZLGJ#4600 Links to test babylon tools with this snapshot: https://playground.babylonjs.com/?snapshot=refs/pull/15504/merge To test the snapshot in the playground with a playground ID add it after the snapshot query string: https://playground.babylonjs.com/?snapshot=refs/pull/15504/merge#BCU1XR#0 |
|
WebGL2 visualization test reporter: |
|
Visualization tests for WebGPU (Experimental) |
|
Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at If tests were successful afterwards, this report might not be available anymore. |
|
Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at If tests were successful afterwards, this report might not be available anymore. |
|
This pull request has been marked as stale because it has been inactive for more than 14 days. Please update to "unstale". |
|
Closing in favor of #15573 |
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:

After:

TODO