# GLTF/GLB exporter missing UV channels

**URL:** <https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555>\
**Category:** Bugs\
**Created:** [January 17, 2021, 12:02pm UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555 "2021-01-17T12:02:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aWeirdo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aweirdo/32/52_2.png) [@aWeirdo](https://forum.babylonjs.com/u/aWeirdo)\
**Post date:** [January 17, 2021, 12:02pm UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555/1 "2021-01-17T12:02:51Z")

</div>

Hey, (@Drigax)  
Exporting a mesh to GLB or GLTF, without a texture in the material, fails to export UV channels…  
is this a bug or a gltf feature? 🤔  
slightly annoying when trying to attach a texture after loading the file 😄

---

<div class="post-metadata">

**Author:** ![Drigax](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/drigax/32/16585_2.png) [@Drigax](https://forum.babylonjs.com/u/Drigax)\
**Post date:** [January 17, 2021, 6:59pm UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555/2 "2021-01-17T18:59:01Z")

</div>

Currently its a feature. We wanted to minimize the size of the exported scene if it has unused elements like UVs.

---

<div class="post-metadata">

**Author:** ![mrlooi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mrlooi/32/18406_2.png) [@mrlooi](https://forum.babylonjs.com/u/mrlooi)\
**Post date:** [April 12, 2022, 8:27am UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555/3 "2022-04-12T08:27:30Z")

</div>

Is there a flag to enable UV in GLTF exports now? @Drigax

---

<div class="post-metadata">

**Author:** ![Gerald](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/gerald/32/18996_2.png) [@Gerald](https://forum.babylonjs.com/u/Gerald)\
**Post date:** [April 13, 2022, 1:23pm UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555/5 "2022-04-13T13:23:43Z")

</div>

@Drigax I am also interested to know this. 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:** [April 13, 2022, 3:38pm UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555/6 "2022-04-13T15:38:50Z")

</div>

@bghgary probably knows

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [April 13, 2022, 4:57pm UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555/7 "2022-04-13T16:57:48Z")

</div>

See here: [IExportOptions | Babylon.js Documentation](https://doc.babylonjs.com/typedoc/interfaces/babylon.iexportoptions#exportunuseduvs)

---

<div class="post-metadata">

**Author:** ![Gerald](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/gerald/32/18996_2.png) [@Gerald](https://forum.babylonjs.com/u/Gerald)\
**Post date:** [April 14, 2022, 3:03pm UTC](https://forum.babylonjs.com/t/gltf-glb-exporter-missing-uv-channels/17555/8 "2022-04-14T15:03:35Z")

</div>

Thanks
