# Sandbox don't export my Metalic and Lightmap

**URL:** <https://forum.babylonjs.com/t/sandbox-dont-export-my-metalic-and-lightmap/24699>\
**Category:** Questions\
**Created:** [October 19, 2021, 8:27pm UTC](https://forum.babylonjs.com/t/sandbox-dont-export-my-metalic-and-lightmap/24699 "2021-10-19T20:27:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![atom182](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@atom182](https://forum.babylonjs.com/u/atom182)\
**Post date:** [October 19, 2021, 8:27pm UTC](https://forum.babylonjs.com/t/sandbox-dont-export-my-metalic-and-lightmap/24699/1 "2021-10-19T20:27:54Z")

</div>

Hello everyone,

i import to sandbox my 3D model, in the sandbox i add the Metalic and the Lightmap, but when i export to glb in my server the changes miss. but the file is more hevy, i guess the Metalic and the Lightmap add to the glb but isn’t active.

Some one know what happend and how to solve this problem?

this is my 3d

> **[176.91 MB file on MEGA](https://mega.nz/file/zRoGyZBJ#0qiRaO55A4UyOBu0MpR23tCyZc9cGaFRpudpKtbrp1Y)**

when i add all the textures and elements looks like this

 ![depto1.PNG](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/e/5e597d8ec684efdd22aefe2f8a95283d040d7232.jpeg)

and when i export looks like this.

 ![depto2.PNG](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/d/ad4828de1842888fbeef51502820abe29256e2d5.jpeg)

---

<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:** [October 19, 2021, 8:33pm UTC](https://forum.babylonjs.com/t/sandbox-dont-export-my-metalic-and-lightmap/24699/2 "2021-10-19T20:33:01Z")

</div>

Adding @bghgary for the gltf parts.

---

<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:** [October 20, 2021, 12:12am UTC](https://forum.babylonjs.com/t/sandbox-dont-export-my-metalic-and-lightmap/24699/3 "2021-10-20T00:12:09Z")

</div>

glTF doesn’t support light maps, so that can’t be exported without a custom glTF extension and custom code. Metallic should export (assuming you mean the metallic roughness texture).

I don’t know how to repro your problem. I downloaded your glb and the exporter seems to do fine with it.

---

<div class="post-metadata">

**Author:** ![Vinc3r](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vinc3r/32/25340_2.png) [@Vinc3r](https://forum.babylonjs.com/u/Vinc3r)\
**Post date:** [October 20, 2021, 7:29am UTC](https://forum.babylonjs.com/t/sandbox-dont-export-my-metalic-and-lightmap/24699/4 "2021-10-20T07:29:17Z")

</div>

In case you need a code example to apply lightmaps once .glb is downloaded, you can check this playground: [https://playground.babylonjs.com/#ADPQFC#9](https://playground.babylonjs.com/#ADPQFC#9)

(I think I should rewrite it using the asset manager by the way)

---

<div class="post-metadata">

**Author:** ![Vinc3r](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vinc3r/32/25340_2.png) [@Vinc3r](https://forum.babylonjs.com/u/Vinc3r)\
**Post date:** [October 20, 2021, 11:49am UTC](https://forum.babylonjs.com/t/sandbox-dont-export-my-metalic-and-lightmap/24699/5 "2021-10-20T11:49:43Z")

</div>

same playground using AssetsManager 🤓 [https://playground.babylonjs.com/#I70ME5#6](https://playground.babylonjs.com/#I70ME5#6)
