[Solved]How to achieve this shaderer(Picture)

I am making my first 3D game. And therefore I made a art style in my head where everything looks like on the picture. alt text

Such basic models should be no problem to make, but I am having trouble making, or finding, a shader which shows the edges as clearly as in this picture and where all pixels on the same face have the same color.

Help would be greatly appreciated.


  1. I made the picture myself
  2. The shader I’m aiming for is effected by light
  3. I have looked for it but I don’t know the shader language so I don’t know what to search for

It’s called “flat shading”. You can use any modelling software you want so long as, in the model import settings in Unity you set Normals to “Calculate” and Smoothing Angle to 0. This will duplicate shared vertices and prevent interpolation (I.e. smoothing) across a face.

Try this guide for more explanation: Go Beyond Retro Pixel Art With Flat Shaded 3D in Unity