# Sketchfab render and shading in three.js

**URL:** <https://discourse.threejs.org/t/sketchfab-render-and-shading-in-three-js/33262>\
**Category:** Questions\
**Tags:** sketchfab, render\
**Created:** [January 3, 2022, 7:12pm UTC](https://discourse.threejs.org/t/sketchfab-render-and-shading-in-three-js/33262 "2022-01-03T19:12:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jelena\_Lukic](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jelena_lukic/32/25651_2.png) [@Jelena\_Lukic](https://discourse.threejs.org/u/Jelena_Lukic)\
**Post date:** [January 3, 2022, 7:12pm UTC](https://discourse.threejs.org/t/sketchfab-render-and-shading-in-three-js/33262/1 "2022-01-03T19:12:15Z")

</div>

I imported my .glb object in Sketchfab and I love option Renderer: RBG and Shading: Shadeless. How I can make the same effect in three.js?

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [January 3, 2022, 7:38pm UTC](https://discourse.threejs.org/t/sketchfab-render-and-shading-in-three-js/33262/2 "2022-01-03T19:38:23Z")

</div>

THREE.MeshBasicMaterial is a shadeless surface model (i.e. it is not affected by lighting). If your glTF is not already shadeless you can convert it by replacing the materials after loading, or running:

```javascript
gltf-transform unlit input.glb output.glb 

```

> **[CLI | glTF-Transform](https://gltf-transform.donmccurdy.com/cli.html)**
>
> Documentation for CLI in glTF-Transform, a glTF 2.0 SDK for JavaScript, TypeScript, and Node.js.

---

<div class="post-metadata">

**Author:** ![Jelena\_Lukic](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jelena_lukic/32/25651_2.png) [@Jelena\_Lukic](https://discourse.threejs.org/u/Jelena_Lukic)\
**Post date:** [January 3, 2022, 8:17pm UTC](https://discourse.threejs.org/t/sketchfab-render-and-shading-in-three-js/33262/3 "2022-01-03T20:17:37Z")

</div>

Thank you so much!
