# Way to toggle shading on a Phong or Lambert material?

**URL:** https://discourse.threejs.org/t/way-to-toggle-shading-on-a-phong-or-lambert-material/26404
**Category:** Questions
**Tags:** materials
**Created:** [May 18, 2021, 7:07pm UTC](https://discourse.threejs.org/t/way-to-toggle-shading-on-a-phong-or-lambert-material/26404 "2021-05-18T19:07:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![prominent](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@prominent](https://discourse.threejs.org/u/prominent)
#### Post date: [May 18, 2021, 7:07pm UTC](https://discourse.threejs.org/t/way-to-toggle-shading-on-a-phong-or-lambert-material/26404/1 "2021-05-18T19:07:43Z")

</div>

How do I toggle the shading of a lambert/phong material so that it looks like a meshBasicMaterial? I want to use one material that can be adjusted to either be shaded via lights or unshaded and unaffected by lights.

---

<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 18, 2021, 7:15pm UTC](https://discourse.threejs.org/t/way-to-toggle-shading-on-a-phong-or-lambert-material/26404/2 "2021-05-18T19:15:05Z")

</div>

I’m afraid this does not work. Both materials always react on lights and there is no option to disable this behavior.

You have to replace a phong or lambert material with `MeshBasicMaterial` whenever you require an unlit material.

---

<div class="post-metadata">

### Author: ![prominent](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@prominent](https://discourse.threejs.org/u/prominent)
#### Post date: [May 18, 2021, 7:47pm UTC](https://discourse.threejs.org/t/way-to-toggle-shading-on-a-phong-or-lambert-material/26404/3 "2021-05-18T19:47:52Z")

</div>

I was afraid that’d be the case. I guess I’ll just have to store multiple materials for every object.
