# Ambient Light and GLTF models not working - Results in black model

**URL:** <https://discourse.threejs.org/t/ambient-light-and-gltf-models-not-working-results-in-black-model/7428>\
**Category:** Questions\
**Tags:** lights, gltf-loader, models\
**Created:** [May 8, 2019, 2:43pm UTC](https://discourse.threejs.org/t/ambient-light-and-gltf-models-not-working-results-in-black-model/7428 "2019-05-08T14:43:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [May 8, 2019, 3:21pm UTC](https://discourse.threejs.org/t/ambient-light-and-gltf-models-not-working-results-in-black-model/7428/5 "2019-05-08T15:21:28Z")

</div>

> [@alexs7](#):
>
> Also why does it work fine when I use this ? [https://gltf-viewer.donmccurdy.com](https://gltf-viewer.donmccurdy.com)

Because the viewer applies and environment map to the asset.

Anyway, try to traverse through `gltf.scene` and set `metalness` to `0` for a quick test.

```js
gltf.scene.traverse( child => {

    if ( child.material ) child.material.metalness = 0;

} );

```

Applying an environment map is even better to get the best visual result from `MeshStandardMaterial`.

---

_[View the full topic](https://discourse.threejs.org/t/ambient-light-and-gltf-models-not-working-results-in-black-model/7428)._
