Bug 277465

Summary: Threejs MeshBatched flicker when sortObjects enabled
Product: WebKit Reporter: David Ronai <davronai>
Component: WebGPUAssignee: 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
Reported 2024-07-31 20:05:28 PDT
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
Mike Wyrzykowski
Comment 1 2024-07-31 22:43:58 PDT
*** This bug has been marked as a duplicate of bug 276722 ***
Mike Wyrzykowski
Comment 2 2024-07-31 22:44:48 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.