# Model set to unlit does export as shiny PBR in glTF

**URL:** <https://forum.nomadsculpt.com/t/model-set-to-unlit-does-export-as-shiny-pbr-in-gltf/6423>\
**Category:** Bug Report\
**Created:** [April 4, 2022, 11:31pm UTC](https://forum.nomadsculpt.com/t/model-set-to-unlit-does-export-as-shiny-pbr-in-gltf/6423 "2022-04-04T23:31:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hybridherbst](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.nomadsculpt.com/hybridherbst/32/9053_2.png) [@hybridherbst](https://forum.nomadsculpt.com/u/hybridherbst)\
**Post date:** [April 4, 2022, 11:31pm UTC](https://forum.nomadsculpt.com/t/model-set-to-unlit-does-export-as-shiny-pbr-in-gltf/6423/1 "2022-04-04T23:31:22Z")

</div>

It seems that when exporting a model that is set to “Unlit”, the result neither respects the roughness that was set (e.g. roughness=1) nor respects the “Unlit” part and sets KHR\_materials\_unlit in the exported glTF.

Either of those would be great to have 🙂 Not sure if that counts as bug (because roughness isn’t exported when model is set to Unlit) or feature request (for exporting KHR\_materials\_unlit), maybe both.

---

<div class="post-metadata">

**Author:** ![stephomi](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.nomadsculpt.com/stephomi/32/19583_2.png) [@stephomi](https://forum.nomadsculpt.com/u/stephomi)\
**Post date:** [April 5, 2022, 1:21am UTC](https://forum.nomadsculpt.com/t/model-set-to-unlit-does-export-as-shiny-pbr-in-gltf/6423/2 "2022-04-05T01:21:12Z")

</div>

Fixed in the next release.

Material will be written as unlit only if the “always unlit” checkbox is enabled in the material menu.

---

<div class="post-metadata">

**Author:** ![hybridherbst](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.nomadsculpt.com/hybridherbst/32/9053_2.png) [@hybridherbst](https://forum.nomadsculpt.com/u/hybridherbst)\
**Post date:** [April 5, 2022, 11:15am UTC](https://forum.nomadsculpt.com/t/model-set-to-unlit-does-export-as-shiny-pbr-in-gltf/6423/3 "2022-04-05T11:15:06Z")

</div>

Thank you! 🙂
