Bug 258063 - Some gltf models not rendering properly on Mac Intel when using WebGL via Metal
Summary: Some gltf models not rendering properly on Mac Intel when using WebGL via Metal
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebXR (show other bugs)
Version: Safari 16
Hardware: Mac (Intel) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-13 23:19 PDT by Tom Felder
Modified: 2023-06-20 23:19 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Felder 2023-06-13 23:19:01 PDT
Some 3D models show obvious artefacts (texture flickering) when rendered in Safari on MacOS. This does not happen with BabylonJS. It might be related to the environment map. If one disables it, e.g. on Don McCurdy's viewer (https://gltf-viewer.donmccurdy.com/), the problem disappears. It only happens on Safari on MacOS when "WebGL via Metal" is enabled in Experimental Features (default setting). It seems that the issue happens only with Intel Macs.

Reproduction steps
1) Open Safari 16.5 ("WebGL via Metal" needs to be enabled in "Develop">>"Experimental Features") on Mac OS Ventura 13.4 (Processor: 2.3 GHz 8-Core Intel Core i9, Graphics: Intel UHD Graphics 630 1536 MB, Memory: 16 GB 2667 MHz DDR4)
2) Go on model viewer main page: https://modelviewer.dev/
3) See flickering on astronaut model

This happens for different models in different gltf viewers (also on Don McCurdy's viewer), but the most obvious was to show the example on the model viewer homepage
Comment 1 Radar WebKit Bug Importer 2023-06-20 23:19:37 PDT
<rdar://problem/111083533>