# model and texture/map question

**URL:** <https://community.cesium.com/t/model-and-texture-map-question/2752>\
**Category:** CesiumJS\
**Created:** [July 9, 2015, 2:53pm UTC](https://community.cesium.com/t/model-and-texture-map-question/2752 "2015-07-09T14:53:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sai\_Asuka](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@Sai\_Asuka](https://community.cesium.com/u/Sai_Asuka)\
**Post date:** [July 9, 2015, 2:53pm UTC](https://community.cesium.com/t/model-and-texture-map-question/2752/1 "2015-07-09T14:53:24Z")

</div>

I have a gltf model with a texture from a jpg image “mymap1.jpg”. Is it possible to use the same .dae file, but change the jpg image that is used to map onto the object? Say if I had a “mymap2.jpg”? Or is there some other way to reuse the same 3D model, but just change the image that goes over the model?

---

<div class="post-metadata">

**Author:** ![Matt\_Amato](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_amato/32/1993_2.png) [@Matt\_Amato](https://community.cesium.com/u/Matt_Amato)\
**Post date:** [July 14, 2015, 2:13am UTC](https://community.cesium.com/t/model-and-texture-map-question/2752/2 "2015-07-14T02:13:40Z")

</div>

Assuming you mean changing the texture “on-the-fly”, there’s no official way to do it. I made a small example that might do what you want using the private API, but there’s no guarantee it won’t break in a future version of Cesium. Paste this into Sandcastle: [https://gist.github.com/mramato/5146500e57d675fb1ee5](https://gist.github.com/mramato/5146500e57d675fb1ee5)
