NEW248339
Babylon.js Shadows are incorrect on iOS with WebGL via Metal
https://bugs.webkit.org/show_bug.cgi?id=248339
Summary Babylon.js Shadows are incorrect on iOS with WebGL via Metal
dizel3d
Reported 2022-11-25 02:50:47 PST
Created attachment 463724 [details] iOS 15.5 Safari I use Babylon.js. And I faced with an issue connection with shadow rendering. Shadows with PCF look ugly on iOS 15+ until disabling the WebGL via Metal experimental feature in Safari. Original thread on Babylon.js Forum has more details: https://forum.babylonjs.com/t/pcf-looks-bad-on-ios/35988
Attachments
iOS 15.5 Safari (431.10 KB, image/jpeg)
2022-11-25 02:50 PST, dizel3d
no flags
MacOS 12.6.1 Chrome, reference (5.99 MB, image/png)
2022-11-25 02:54 PST, dizel3d
no flags
iOS 15.5 Safari with disabled WebGL via Metal (430.34 KB, image/jpeg)
2022-11-25 03:06 PST, dizel3d
no flags
dizel3d
Comment 1 2022-11-25 02:54:22 PST
Created attachment 463725 [details] MacOS 12.6.1 Chrome, reference
dizel3d
Comment 2 2022-11-25 03:06:43 PST
Created attachment 463726 [details] iOS 15.5 Safari with disabled WebGL via Metal
dizel3d
Comment 3 2022-11-25 03:08:40 PST
Here's a test example https://playground.babylonjs.com/#IIZ9UU#369 On iOS 15.5 Safari with ENABLED WebGL via Metal looks INCORRECTLY: https://bugs.webkit.org/attachment.cgi?id=463724 On iOS 15.5 Safari with DISABLED WebGL via Metal CORRECTLY: https://bugs.webkit.org/attachment.cgi?id=463726
Radar WebKit Bug Importer
Comment 4 2022-11-26 14:41:23 PST
Kenneth Russell
Comment 5 2022-11-28 15:25:30 PST
I think this is a duplicate of Bug 232071. It's related to the filterability of depth textures when using certain depth compare modes.
Note You need to log in before you can comment on or make changes to this bug.