Why doesn't AR button show up on Safari?

I’ve created a model for viewing in AR with a custom shader. Everything works fine on Android but the AR button doesn’t show up on Safari.

Original Post on Discord

by user 413322302877466635

Hey :wave: AR on iOS has some limitations, please refer to the documentation:

If anything wouldn’t be clear, let me know :cactus:

Oh, bummer. Thank you Kipash!

by user 413322302877466635

Indeed a bummer, one day :pray:

Hey @ibkc the response above may be misleading. The AR button on iOS shows up when you add the USDZExporter component to your scene.
Interactivity is limited on iOS AR, which is where the docs above help :slightly_smiling_face:

Thank you herbst! Yes, I’ve noticed that. However, my custom fresnel shader is not working on quick look.It seems to only work on webxr browser on ios. But that doesn’t work for me because the point of doing web AR in my project is to not make people download another app :slightly_smiling_face: And I should add that I am amazed by the beauty of needle.tools :slightly_smiling_face:

by user 413322302877466635

Indeed, custom shaders are one of the limitations of AR on Apple devices right now. For best cross-platform results we recommend using PBR materials throughout if you want consistent visuals everywhere

Worth noting that it’s not us imposing that restriction, Apple has basically decided that they’re not supporting custom shaders on iOS QuickLook at this point.