I am relatively new to Babylon JS. My question is regarding how to change the texture back to the first texture of the uploaded model. I changed texture using updateURL() method. Now I want to change the texture to earlier texture.
This is a bit of an issue when it comes to glbs a GLB has the images integrated. They are converted to blobs that have a unique URL in your browser. Technically you can catch each blob creation, see what the assigned URL is, make sure they are not disposed, and reuse them.
A simpler approach would be to create a new texture and switch between the glb textures and the new texture. A little more memory usage, but no hassle at all.