# Automatic lighting applies when converting model to GLTF

**URL:** <https://discourse.threejs.org/t/automatic-lighting-applies-when-converting-model-to-gltf/9305>\
**Category:** Questions\
**Tags:** loaders, textures, materials\
**Created:** [August 29, 2019, 12:35pm UTC](https://discourse.threejs.org/t/automatic-lighting-applies-when-converting-model-to-gltf/9305 "2019-08-29T12:35:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sid](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sid/32/5269_2.png) [@Sid](https://discourse.threejs.org/u/Sid)\
**Post date:** [August 29, 2019, 12:35pm UTC](https://discourse.threejs.org/t/automatic-lighting-applies-when-converting-model-to-gltf/9305/1 "2019-08-29T12:35:38Z")

</div>

Hello,

We have created one shoe model and we are exporting it to GLTF format but when we check the file in GLTF viewer, I can see the automatic lighting gets added to the model. There is not lighting added to the the actual OBJ model still when converting that model to GLTF and viewing it on any viewer, e.g. windows 3d viewer, GLTF viewer, I can see white color has got some lighting and due to that white color displays some silver color effect on it.

Can you please let me know if I need to change anything in my model or do changes in lighting?

Actual Output

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/7/78e174c1df902b25db9ab6ea652f76633b6ed14b.jpeg)

Expected output

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/1/13efdbbd5deaba885fb101cbcca917227ce285a9.jpeg)

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [August 29, 2019, 12:47pm UTC](https://discourse.threejs.org/t/automatic-lighting-applies-when-converting-model-to-gltf/9305/2 "2019-08-29T12:47:04Z")

</div>

Is it possible to share the gltf model in this thread?

---

<div class="post-metadata">

**Author:** ![Sid](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sid/32/5269_2.png) [@Sid](https://discourse.threejs.org/u/Sid)\
**Post date:** [August 29, 2019, 1:43pm UTC](https://discourse.threejs.org/t/automatic-lighting-applies-when-converting-model-to-gltf/9305/3 "2019-08-29T13:43:50Z")

</div>

Here is a GLTF file with its textures and materials.

> **[New shoe export.zip](https://drive.google.com/file/d/1j7jpY4TpB-oq1UvPQ11NaIZBdK2My3Bg/view?usp=sharing)**
>
> Google Drive file.

Kindly check and let me know if any fix can be applied or not?  
You can check webversion here also.  
[http://13.250.149.238/ShoeConfiguratorProject/](http://13.250.149.238/ShoeConfiguratorProject/)

---

<div class="post-metadata">

**Author:** ![qifei](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/qifei/32/5912_2.png) [@qifei](https://discourse.threejs.org/u/qifei)\
**Post date:** [August 29, 2019, 2:05pm UTC](https://discourse.threejs.org/t/automatic-lighting-applies-when-converting-model-to-gltf/9305/4 "2019-08-29T14:05:32Z")

</div>

```
meshObj.material.metalness = 0;

```

> [@\[SOLVED\] Glb model is very dark](https://discourse.threejs.org/t/solved-glb-model-is-very-dark/6258):
>
> SOLVED grinning Hey, when I load a glb model into threejs it is very dark. The problem model is good\_bush.glb. It’s near the bottom of the code. It looks fine when I upload it to [https://gltf-viewer.donmccurdy.com/](https://gltf-viewer.donmccurdy.com/) but it behaves weird with me. I don’t know if this is a lighting issue or a renderer settings issue. Any help is appreciated. import \* as THREE from 'three'; import \* as OrbitControls from './utils/three-orbit-controls'; import GLTFLoader from 'three-gltf-l…
