# Missing materials after blend file export to glb?

**URL:** <https://forum.babylonjs.com/t/missing-materials-after-blend-file-export-to-glb/5909>\
**Category:** Content creation (3dsMax, Maya, Blender, glTF)\
**Created:** [September 26, 2019, 3:03pm UTC](https://forum.babylonjs.com/t/missing-materials-after-blend-file-export-to-glb/5909 "2019-09-26T15:03:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HappyDev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/happydev/32/2236_2.png) [@HappyDev](https://forum.babylonjs.com/u/HappyDev)\
**Post date:** [September 26, 2019, 3:03pm UTC](https://forum.babylonjs.com/t/missing-materials-after-blend-file-export-to-glb/5909/1 "2019-09-26T15:03:48Z")

</div>

I have this blend file that includes materials,textures and animations

> **[Dragon.blend](https://drive.google.com/file/d/1uKastRRtdeR0Nnja61cZsPJferV50W0E/view?usp=sharing)**
>
> Google Drive file.

> **[Dragon.glb](https://drive.google.com/file/d/1C5a5Wn8Feo7msDzuSnv4h7yVsjAQYei0/view?usp=drive_open)**
>
> Google Drive file.

When I export it to the glb format and drag it in the Babylon sandbox the materials don’t show and instead I get they plain grey version of the mesh.

How can I fix this ?

In blender:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/f/fd1743bab8d0b0eea79e391cdddb5db8a794dd03.jpeg)  
In sandbox:  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/6/6dfa2ba67274edc6c8fb37215031dccee1b9cd90.jpeg)

---

<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:** [September 26, 2019, 3:37pm UTC](https://forum.babylonjs.com/t/missing-materials-after-blend-file-export-to-glb/5909/2 "2019-09-26T15:37:06Z")

</div>

You have to use nodes and Principled BSDF on your materials.

[https://docs.blender.org/manual/en/latest/addons/io\_scene\_gltf2.html](https://docs.blender.org/manual/en/latest/addons/io_scene_gltf2.html)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/8/80c8073739eea611d5906288aaa255bb81a7b749.jpeg)  
(I just tweaked the Main material here)

---

<div class="post-metadata">

**Author:** ![HappyDev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/happydev/32/2236_2.png) [@HappyDev](https://forum.babylonjs.com/u/HappyDev)\
**Post date:** [September 26, 2019, 4:31pm UTC](https://forum.babylonjs.com/t/missing-materials-after-blend-file-export-to-glb/5909/3 "2019-09-26T16:31:04Z")

</div>

You are awesome. Thank you very much.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/1/13716bbda12b449c04aef95acb8a7a448baa04e0.jpeg)
