question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transparent background doesn't work in ar in iphone and ipad

See original GitHub issue

Description

Transparent background doesn’t work in ar in iphone and ipad,

Live Demo

https://modelviewer.dev/examples/augmentedreality/#transparentBackground

open in iphone or ipad click ar button, all transparent part are black

if you upload a glb model contain transparent material to https://spase.io/playground convert to usdz model,then use html code <a href="./your.usdz" rel="ar"> <img src="your.png" alt="" width="250" height="250"> </a> ar transparent will work fine in iphone

Version

  • model-viewer: v1.7.2

Browser Affected

  • Safari

OS

  • iOS 14.6

AR

  • WebXR

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
elalishcommented, Jul 29, 2022

Looks like this was fixed.

1reaction
elalishcommented, Sep 20, 2021

You’ll probably find better updates on the three.js github for this. USDZ is a strange beast, so there will always be some gaps. Hopefully this can be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transparent PNG files not working on iPho… - Apple Community
I frequently use PNG files in photo editing apps on my iPhone. ... previously displayed a transparent background suddenly don't anymore.
Read more >
Image Transparency Issues - Apple Community
I am having an issue where some of my images are losing their transparency within the photos app. They appear as transparent in...
Read more >
Transparent Images - Apple Community - Apple Discussions
I'm an artist who relies on my being able to import transparent images, and recently (for whatever reason) my PNG files haven't been...
Read more >
ios is converting png photos with transparent background
I really need my backgrounds to stay transparent. The only workaround I've found is to save my files to Dropbox and work with...
Read more >
Transparent Images - Apple Community - Apple Discussions
I'm an artist who relies on importing and exporting transparent images. Currently I've had issues with PNG files not saving as transparent ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found