-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
BatchedMesh example sortObjects bugs on Safari iOS WebGPU #29581
Comments
@Makio64 it seems fine on ToT WebKit (I tried an iPhone 15 Pro): ScreenRecording_10-07-2024.12-34-10_1.MP4Understandably it would be hard to verify, but if it looks correct on STP, I think the only difference between for WebGPU between an Apple Silicon Mac and some iPhones is lack of float32 filtering support (excludes Apple9+ phones like iPhone 15 Pro). |
This should be fixed by https://bugs.webkit.org/show_bug.cgi?id=277465 That fix did not make it into iOS 18.0 or 18.1, which is why you see the behavior on iOS but not Safari Technology Preview. I imagine macOS 18.0 and macOS 18.1 also exhibit the same issue on Apple Silicon as iOS |
@mwyrzykowski thanks for your quick answer! output_smaller.mp4 |
Which version of STP @Makio64 ? I tried on an M2 Mac Studio with STP 204 and seems ok: stp_204_1080.mov |
I downloaded it today : |
I will attempt to reproduce on an M3 chip, maybe the flicker is due to a race condition |
Description
On iOS it seems BatchedMesh example have 3 bugs :
sortObjects = false
reduce the visibility of the bugperInstanceFrustumCulled = false
reduce the visibility of the bugVideo.07-10-2024.18.47.37.mp4
Note :
sortObjects = true
also lead to a bug on Android Chrome on one of my current mission but I cant figured out whats the condition of the bug as the project is complexe and involve multiple BatchedMesh / custom nodes .. ( but sortObjects=false solve the bugs I got on Android ) I'll dive more on it when i ll got the time.Note 2 : on the same project on iOS it feels like the index of the BatchedMesh is slowly degenerating, this second one might be related to : #29379 but i prefer to notify it here as it might be linked.
Related to #29041 but I prefered create a new issue.
@mwyrzykowski
Reproduction steps
Code
https://github.com/mrdoob/three.js/blob/master/examples/webgpu_mesh_batch.html
Live example
https://threejs.org/examples/webgpu_mesh_batch.html
Screenshots
No response
Version
r169
Device
Mobile
Browser
Safari
OS
iOS
The text was updated successfully, but these errors were encountered: