# How to clone the dest texture and show it?

**URL:** <https://forum.babylonjs.com/t/how-to-clone-the-dest-texture-and-show-it/50730>\
**Category:** Bugs\
**Tags:** texture\
**Created:** [May 21, 2024, 4:01pm UTC](https://forum.babylonjs.com/t/how-to-clone-the-dest-texture-and-show-it/50730 "2024-05-21T16:01:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nabla-GIT](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nabla-git/32/39109_2.png) [@Nabla-GIT](https://forum.babylonjs.com/u/Nabla-GIT)\
**Post date:** [May 21, 2024, 4:01pm UTC](https://forum.babylonjs.com/t/how-to-clone-the-dest-texture-and-show-it/50730/1 "2024-05-21T16:01:14Z")

</div>

Hi !

dear friends!

I’m using **WEBGPU** , and want to **clone a texture** named “dest” (code at the 63th row below:)

 ![R4%T8PKI1{6P7CD4FVBP5G](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/2/421387356c0ff446393fd13134c4b7d5edffcda2.jpeg)

**but problem is when I run the code at 67th row , the ground2 will disappear(as figure below:)**

 ![N560}4EL0YNK5B)P(NXJ}7](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/0/50066f927f555e752fc10ea1ffe238b65c4c8f7c.jpeg)

**in addition,ground2 should be same as ground**

**why and how should I clone the dest texture well?**  
**why and how should I clone the dest texture well?**  
**why and how should I clone the dest texture well?**

PG project: [how to clone the dest texture well? | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/?webgpu#3URR7V#286)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [May 21, 2024, 4:17pm UTC](https://forum.babylonjs.com/t/how-to-clone-the-dest-texture-and-show-it/50730/2 "2024-05-21T16:17:12Z")

</div>



---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [May 21, 2024, 5:35pm UTC](https://forum.babylonjs.com/t/how-to-clone-the-dest-texture-and-show-it/50730/3 "2024-05-21T17:35:24Z")

</div>

I believe you may use Babylon clone function for cloning textures. Example - [https://playground.babylonjs.com/?webgpu#3URR7V#288](https://playground.babylonjs.com/?webgpu#3URR7V#288)

---

<div class="post-metadata">

**Author:** ![Nabla-GIT](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nabla-git/32/39109_2.png) [@Nabla-GIT](https://forum.babylonjs.com/u/Nabla-GIT)\
**Post date:** [May 22, 2024, 4:36am UTC](https://forum.babylonjs.com/t/how-to-clone-the-dest-texture-and-show-it/50730/5 "2024-05-22T04:36:43Z")

</div>

Dear labris:

**Thank you so much! I 've solved my problem**

wish you good days!  
❤

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [May 22, 2024, 8:27am UTC](https://forum.babylonjs.com/t/how-to-clone-the-dest-texture-and-show-it/50730/6 "2024-05-22T08:27:45Z")

</div>


