Shared cubetexture between scene

I know this is not possible to share a texture between 2 different scene.

But I know you can send the buffer of an image in babylonJS Texture instead of an url which allows me to not load several times an image if the buffer string is stored with the code.

What about cube texture? Can we do the same thing?

Thanks :wink:

Ask yourself if this will be faster? If you already loaded the image, the second load will be instant as the browser will have in its cache

hum indeed so no worries thanks to the cache of the browser then. Well we will do it that way! :blush:

1 Like