google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.88k stars 816 forks source link

How can I disable blending effect in iOS devices? #2003

Closed DuhDamn closed 3 years ago

DuhDamn commented 3 years ago

Description

I have been using Model Viewer to add WebAR onto my website, On android the models looks good and functions properly, but for iOS, the model is blending into atmosphere which is not what I need, How can I disable it using Model Viewer api? I couldn't find any references, apart from this one github issue https://github.com/google/model-viewer/issues/1733#issuecomment-749136234 , but when I use it, I get an error saying "Object requires newer version of iOS".

Live Demo

Image of the Issue I'm haing: https://i.stack.imgur.com/PFizj.jpg Image of the Error: https://i.stack.imgur.com/ZvkLD.jpg

Version

Browser Affected

Safari

OS

iOS

elalish commented 3 years ago

This is a QuickLook bug and the intent solution you refer to is for SceneViewer. I'm not aware of Apple allowing this kind of customization in QuickLook, but if you find a way in their docs, I'll be happy to add it. I'm guessing you'll get better results with a new iPhone 12 with LIDAR.