how to load new texture in babylonjs react native from assets on android?
groundMaterial.diffuseTexture = new BABYLON.Texture("/textures/ground.jpg", scene);
For glb import I use this: “app:///models/”
how to load new texture in babylonjs react native from assets on android?
groundMaterial.diffuseTexture = new BABYLON.Texture("/textures/ground.jpg", scene);
For glb import I use this: “app:///models/”
Sorry for the delay, both @ryantrem and I were on vacation.
All urls used in Babylon Native use the same underlying protocols, so you should be able to use app:///
similar to the models.