I’m trying to prototype something and while my scene works well on desktop, running it on my iPhone with the latest iOS installed makes it look like glitch art from the 90s:
Some buffer is not clearing properly, I guess.
After commenting sections of code out I narrowed it down to the usage of shadow generator, if I disable it – everything works.
And then I found out that even examples from the Babylon.js team itself don’t work on iOS! For instance, this one with a character walking: https://playground.babylonjs.com/#4G38H4#7
It looks like there’s either a bug in Babylon.js itself which causes this behaviour in Safari, or maybe this whole section and its examples are just outdated Getting Started - Chapter 7 - Adding Shadows | Babylon.js Documentation and I missed some setup step?
For now, I’ll just disable shadows, I guess.