# Does the same material in multiple meshes consume GPU memory multiple times or only once?

**URL:** <https://discourse.threejs.org/t/does-the-same-material-in-multiple-meshes-consume-gpu-memory-multiple-times-or-only-once/44920>\
**Category:** Questions\
**Tags:** skinned-mesh, materials\
**Created:** [November 19, 2022, 12:52pm UTC](https://discourse.threejs.org/t/does-the-same-material-in-multiple-meshes-consume-gpu-memory-multiple-times-or-only-once/44920 "2022-11-19T12:52:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miyamonz](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/miyamonz/32/31202_2.png) [@miyamonz](https://discourse.threejs.org/u/miyamonz)\
**Post date:** [November 19, 2022, 12:52pm UTC](https://discourse.threejs.org/t/does-the-same-material-in-multiple-meshes-consume-gpu-memory-multiple-times-or-only-once/44920/1 "2022-11-19T12:52:08Z")

</div>

My question is as the title suggests.

The situation that I’m facing is here:

- I have one SkinnedMesh loaded from a GLTF model.
- I want to render it as two models cloned by `SkeletonUtils.clone`.
- they have the same material with the same uuid, but I want each model to get a different pose.
  - so I can’t use InstancedMesh.

- I checked GPU memory usage in chrome task manager. It seems it consumes once.
  - adding a cloned model into the scene doesn’t increase GPU memory usage.
  - but I wasn’t sure, so I post this question here.

---

<div class="post-metadata">

**Author:** ![anidivr](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/anidivr/32/32924_2.png) [@anidivr](https://discourse.threejs.org/u/anidivr)\
**Post date:** [November 19, 2022, 1:56pm UTC](https://discourse.threejs.org/t/does-the-same-material-in-multiple-meshes-consume-gpu-memory-multiple-times-or-only-once/44920/2 "2022-11-19T13:56:19Z")

</div>

Yes, the material is shared across all meshes that reference it.

If you alter the material, all meshes get the change.

---

<div class="post-metadata">

**Author:** ![miyamonz](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/miyamonz/32/31202_2.png) [@miyamonz](https://discourse.threejs.org/u/miyamonz)\
**Post date:** [November 20, 2022, 8:58am UTC](https://discourse.threejs.org/t/does-the-same-material-in-multiple-meshes-consume-gpu-memory-multiple-times-or-only-once/44920/3 "2022-11-20T08:58:13Z")

</div>

Thanks a lot!

could you give me a doc, an explanation, or source code to help me understand this If you know?
