- Home /
Shader that renders all faces the same color and is affected by light?
I'm looking for a shader that renders the model in the same way as the Unlit/Color shader, but is affected by light.
That is, I need it to render all the faces of the model exactly the same color, but that color should be affected by light in the same way that each face of the model is when using the Standard shader with its default settings.
I take it that this should be possible by having the shader first calculate the colors of all the faces (in the same way that the Standard shader does), and then calculate the average of all those colors, and then finally apply this color to all the faces of the model.
Is such a shader readily available anywhere, or is it possible to achieve the same result by adjusting any of the built-in shaders?
Thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220612175258im_/https://answers.unity.com/themes/thub/images/avi.jpg)