# Shared cubetexture between scene

**URL:** <https://forum.babylonjs.com/t/shared-cubetexture-between-scene/3732>\
**Category:** Questions\
**Created:** [June 6, 2019, 1:58pm UTC](https://forum.babylonjs.com/t/shared-cubetexture-between-scene/3732 "2019-06-06T13:58:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PichouPichou](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pichoupichou/32/316_2.png) [@PichouPichou](https://forum.babylonjs.com/u/PichouPichou)\
**Post date:** [June 6, 2019, 1:58pm UTC](https://forum.babylonjs.com/t/shared-cubetexture-between-scene/3732/1 "2019-06-06T13:58:00Z")

</div>

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 😉

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 6, 2019, 2:39pm UTC](https://forum.babylonjs.com/t/shared-cubetexture-between-scene/3732/2 "2019-06-06T14:39:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![PichouPichou](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pichoupichou/32/316_2.png) [@PichouPichou](https://forum.babylonjs.com/u/PichouPichou)\
**Post date:** [June 6, 2019, 2:41pm UTC](https://forum.babylonjs.com/t/shared-cubetexture-between-scene/3732/3 "2019-06-06T14:41:41Z")

</div>

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