Apply different UV scale per object for same material, is that possible?

Is that the Babylon.js viewer or another viewer?

If it is the Babylon.js viewer, you should be able to add some custom code to change the material by a triplanar material after loading (I don’t know much about the viewer but I suppose it is possible).

If it is not the Babylon.js viewer then I don’t see a solution as you are limited by what the glTF format supports.

Also @paleRider everything would be much simpler relying directly on WebXR on the devices you are targetting AR for ???

Let s see where the perf problem can be.

May I add this to the conversation?
Well, the triplanar material we need is a PBR one, not the standard non PBR. So we are stuck and the only way to do that kind of triplanar is by making it via NME.
Cheers.

Thanks for bringing here your thoughts, @sebavan

I agree with you about being WebXR the simplest way, but sadly, we have a lot of experience developing native AR apps for Android (ARCore) and iOS (ARKit) and at the moment the only way we’ve found to do it for web, with an acceptable performance, is via model-viewer web component, covering also iOS with its amazing client-side on-the-fly GLTF to USDZ converter.

I mean that, in our opinion, at the moment WebXR is a promising project but far from being a solution for commercial grade webapps, mainly in the less powerful devices.

Best regards.

1 Like