# glTF model is black

**URL:** <https://community.cesium.com/t/gltf-model-is-black/3490>\
**Category:** CesiumJS\
**Created:** [December 22, 2015, 10:40am UTC](https://community.cesium.com/t/gltf-model-is-black/3490 "2015-12-22T10:40:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkvoelkl](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@gkvoelkl](https://community.cesium.com/u/gkvoelkl)\
**Post date:** [December 22, 2015, 10:40am UTC](https://community.cesium.com/t/gltf-model-is-black/3490/1 "2015-12-22T10:40:44Z")

</div>

Hello,

I converted a collada modell to glTF. I tried to use cesium 1.16. The model was shown, but all material was black. Something wrong with lights? Material?

Thanks.

Best Regards

Gerhard

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [December 22, 2015, 5:24pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/2 "2015-12-22T17:24:07Z")

</div>

Hello Gerhard,

Have you seen the troubleshooting section of our 3D models tutorial? [http://cesiumjs.org/tutorials/3D-Models-Tutorial/](http://cesiumjs.org/tutorials/3D-Models-Tutorial/)

If your collada model appears fine and there aren’t any error messages in Cesium, let me know and I’ll take a closer look at it.

Thanks,

Hannah

---

<div class="post-metadata">

**Author:** ![gkvoelkl](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@gkvoelkl](https://community.cesium.com/u/gkvoelkl)\
**Post date:** [December 23, 2015, 10:47am UTC](https://community.cesium.com/t/gltf-model-is-black/3490/3 "2015-12-23T10:47:37Z")

</div>

Hello Hannah,

I have already read your 3D models tutorial. I hope that I understood it correctly.

· I modelled a simple blue cube in Blender and exported it as a collada file

· I converted it with collada2gltf in gltf files

· The collada file seems correct. I can see the cube in Visual Studio Collada Viewer (see VSCube.png)

· In cesium the cube is black (see CubeCesium.png)

Thanks,

Gerhard

 ![VSCube.png](https://global.discourse-cdn.com/cesium/original/2X/9/9f129ee3bcb71bbb062a381541c951b06c6e48eb.png)

![CubeCesium.png](https://global.discourse-cdn.com/cesium/original/2X/8/894cdb2439539384a6454df12b4f2aa31491e59d.png)

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [December 23, 2015, 4:34pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/4 "2015-12-23T16:34:25Z")

</div>

Hmm… I’m not sure exactly what would be causing that problem. Could you attached the COLLADA model so I can take a look at it?

Thanks,

Hannah

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [December 24, 2015, 2:32pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/5 "2015-12-24T14:32:08Z")

</div>

Hi,

It could just be the lighting in Cesium. Did you try moving the time slider at the bottom of the Cesium widget?

Patrick

---

<div class="post-metadata">

**Author:** ![gkvoelkl](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@gkvoelkl](https://community.cesium.com/u/gkvoelkl)\
**Post date:** [January 6, 2016, 4:10pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/6 "2016-01-06T16:10:42Z")

</div>

Hi,

I moved the time slider, but it did not help.

Thanks

Gerhard

---

<div class="post-metadata">

**Author:** ![gkvoelkl](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@gkvoelkl](https://community.cesium.com/u/gkvoelkl)\
**Post date:** [January 6, 2016, 4:13pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/7 "2016-01-06T16:13:33Z")

</div>

Hello Hannah,

here the file

Thanks

Gerhard

[cube.dae](https://community.cesium.com/uploads/short-url/x4HV5wFGcAkkKkF9WPAHSWsFhEW.dae) (10.4 KB)

---

<div class="post-metadata">

**Author:** ![Daniel\_Oneil](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@Daniel\_Oneil](https://community.cesium.com/u/Daniel_Oneil)\
**Post date:** [February 4, 2016, 9:12pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/8 "2016-02-04T21:12:32Z")

</div>

I have a similar problem.  
Using Blender, a few point lights were added to an imported Light Wave Object (LWO) and exported to COLLADA format.  
Using the COLLADA to GLTF converter, the file was converted to GLTF.  
Using the Sandcastle Models demo, the GLTF model was tested within Cesium.  
Unfortunately, when the GLTF model loads from a CZML file, the model is rendered in black.  
The  
attached Portable Data Format file presents images of the model within the COLLADA to GLTF converter, the Sandcastle demo, and how it appears when it is loaded from a CZML file…

The original LWO file was downloaded from the NASA 3D Resources website.  
[http://nasa3d.arc.nasa.gov/detail/lro-full](http://nasa3d.arc.nasa.gov/detail/lro-full)

Here is the CZML code:  
[ {  
“id”:“document”,  
“name”:“Lunar Transfer Trajectory”,  
“version”:“1.0”,  
“clock”:{  
“interval”:“2014-07-22T11:00:00Z/2014-08-12T22:07:27Z”,  
“currentTime”:“2014-07-22T11:00:00Z”,  
“multiplier”:20,  
“range”:“LOOP\_STOP”,  
“step”:“SYSTEM\_CLOCK\_MULTIPLIER”  
}},  
{  
“id”: “lunarProbe”,  
“availability”:[“2014-07-22T11:00:00Z/2014-08-12T22:07:27Z”],  
“model” : {  
“gltf” : “LRO\_spacecraft.gltf”,  
“scale” : 5000.0,  
“show” : [{  
“interval” : “2014-07-22T11:00:00Z/2014-08-12T22:07:27Z”,  
“boolean” : true  
}]  
},  
“path” : {  
“width” : 1.5,  
“material”:{  
“solidColor”:{ “color”:{ “rgba”:[200,100,150,255] } }  
},  
“show” : true  
},  
“position”: {  
“cartesian”: [  
“2014-07-22T11:29:11Z”,-137380198.4340,75679878.6754,21487638.7519,  
“2014-07-22T11:30:11Z”,-137394120.7690,75653088.4724,21492771.5937,  
“2014-07-22T11:33:21Z”,-137438027.2700,75567784.4716,21509029.0206,  
//—  
]  
} }]

[20160204\_model\_loaded\_from\_CZML\_rendered\_black.pdf](https://community.cesium.com/uploads/short-url/bI47f8yCahjSpe80Y3wnsvGarrA.pdf) (533 KB)

---

<div class="post-metadata">

**Author:** ![Daniel\_Oneil](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@Daniel\_Oneil](https://community.cesium.com/u/Daniel_Oneil)\
**Post date:** [February 5, 2016, 7:19pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/9 "2016-02-05T19:19:39Z")

</div>

Success!  
Using the Collada2GLTF converter provided by the Khronos group produced a colorful gltf file that loaded from CZML.  
[https://github.com/KhronosGroup/glTF/releases/tag/v1.0-draft2](https://github.com/KhronosGroup/glTF/releases/tag/v1.0-draft2)

 ![Auto Generated Inline Image 1.jpg](https://global.discourse-cdn.com/cesium/original/2X/f/f280485633ecc230baacb9fa7c4aaa1694ad96cd.jpeg)

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [April 27, 2018, 7:52pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/10 "2018-04-27T19:52:58Z")

</div>

The issue at [#3737](https://github.com/AnalyticalGraphicsInc/cesium/issues/3737) has just been closed and may resolve your issue. Look for the change in Cesium 1.45 on May 1, or get it now in the master branch on GitHub [https://github.com/AnalyticalGraphicsInc/cesium](https://github.com/AnalyticalGraphicsInc/cesium).

---

<div class="post-metadata">

**Author:** ![Daniel\_Oneil](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@Daniel\_Oneil](https://community.cesium.com/u/Daniel_Oneil)\
**Post date:** [April 28, 2018, 6:31pm UTC](https://community.cesium.com/t/gltf-model-is-black/3490/11 "2018-04-28T18:31:22Z")

</div>

Thank you.
