Bug 277465
| Summary: | Threejs MeshBatched flicker when sortObjects enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Ronai <davronai> |
| Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | mwyrzykowski, tzagallo |
| Priority: | P2 | ||
| Version: | Safari Technology Preview | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 18 | ||
David Ronai
Using threejs, enable .sortObjects on MeshBatched introduce flickering ( WebGPU - Safari - iOS18 - iphone12 Pro Max )
video recording : https://github.com/user-attachments/assets/5f43ab39-c780-4ca3-a260-e5c2a3bf402f
Reproduction steps
- create a BatchedMesh
- batchedMesh.sortObjects = true
- turn camera, on some angle elements which should be visible will disapear
Works correctly on MacOS Safari WebGPU enabled.
Threejs Issue : https://github.com/mrdoob/three.js/issues/29041
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mike Wyrzykowski
*** This bug has been marked as a duplicate of bug 276722 ***
Mike Wyrzykowski
Apologies for breaking this one, it is fixed with https://bugs.webkit.org/show_bug.cgi?id=276722 which should be in the next Safari Technology Preview build or the one after that.