# Importing gltf and glb to Editor are different

**URL:** <https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045>\
**Category:** Questions\
**Tags:** blender, lighting, material\
**Created:** [May 5, 2022, 3:19am UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045 "2022-05-05T03:19:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZzMarmot](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zzmarmot/32/23651_2.png) [@ZzMarmot](https://forum.babylonjs.com/u/ZzMarmot)\
**Post date:** [May 5, 2022, 3:19am UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045/1 "2022-05-05T03:19:25Z")

</div>

We have a gltf model and after imported into Editor, it has some odd shadow and lighting issues. After exporting to glb by blender with the same model and import this glb model into Editor, it looks normal. What is the difference between glb and gltf loader in BabylonJS Editor?

 ![Screen Shot 2022-05-04 at 3.23.01 PM](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/b/7/b7338d160cab0985a55192fdb91a5a707b17a640.png)  
Probably need editor master @julien-moreau help. Thank you!

---

<div class="post-metadata">

**Author:** ![ZzMarmot](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zzmarmot/32/23651_2.png) [@ZzMarmot](https://forum.babylonjs.com/u/ZzMarmot)\
**Post date:** [May 5, 2022, 3:21am UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045/2 "2022-05-05T03:21:00Z")

</div>

For the gltf model, when I disable the scene’s SSAO, the lighting issue was resolved. However, we don’t know the root cause of it and disable SSAO is not a good idea for the whole scene.

---

<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:** [May 5, 2022, 3:31pm UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045/3 "2022-05-05T15:31:14Z")

</div>

There should not be any differences, I am guessing Blender is adding extra information you do not have in your source gltf. Would be great if you could share the files so that we could try spotting the diff.

---

<div class="post-metadata">

**Author:** ![ZzMarmot](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zzmarmot/32/23651_2.png) [@ZzMarmot](https://forum.babylonjs.com/u/ZzMarmot)\
**Post date:** [May 5, 2022, 4:18pm UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045/4 "2022-05-05T16:18:20Z")

</div>

> **[amazon-sumerian-hosts/packages/demos-babylon/src/character-assets/characters/adu...](https://github.com/aws-samples/amazon-sumerian-hosts/tree/mainline2.0/packages/demos-babylon/src/character-assets/characters/adult_female/cristine)**
>
> mainline2.0/packages/demos-babylon/src/character-assets/characters/adult\_female/cristine

This is the gltf model I was using. You can take a look at it on your side.

---

<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:** [May 5, 2022, 4:27pm UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045/5 "2022-05-05T16:27:15Z")

</div>

cc @bghgary if he can spot smthg

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [May 5, 2022, 5:37pm UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045/6 "2022-05-05T17:37:08Z")

</div>

Hi @ZzMarmot !  
The editor you use is using Babylon.JS v4.2.1 and I’m pretty sure if you disable SSAO, the problem will disappear.  
Negative scales problems have been fixed in Babylon.JS 5 for SSAO and I’m going to release the Editor using this new version of Babylon.JS is that can help 🙂

Can you confirm that disabling SSAO removes the glitch?

---

<div class="post-metadata">

**Author:** ![ZzMarmot](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zzmarmot/32/23651_2.png) [@ZzMarmot](https://forum.babylonjs.com/u/ZzMarmot)\
**Post date:** [May 5, 2022, 6:37pm UTC](https://forum.babylonjs.com/t/importing-gltf-and-glb-to-editor-are-different/30045/7 "2022-05-05T18:37:54Z")

</div>

Yes. I can confirm that! @julien-moreau

 ![Screen Shot 2022-05-05 at 11.37.28 AM](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/1/31c4106404c1cee3db314fa6a25c4f75f8d08f03.jpeg)  
 ![Screen Shot 2022-05-05 at 11.37.31 AM](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/c/0cac92a8153316c6a4e1f96b6f4ead5b55ffe75e.jpeg)
