Way to toggle shading on a Phong or Lambert material?

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.

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.

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

1 Like