Where can I get a shader that does flat shading/lighting?

I would like to be able generate terrain that has a “low-poly” style. The gradients created with Lambertian shading tend to mess up that look.
I’m sure such a shader must exist, and I imagine it would be quite simple. But my shader foo is not currently sufficient to write it myself.

I am aware of how you can import the mesh and set the smoothing angle to 0. That will not work in my case as I’m deforming the terrain dynamically and apparently the mesh.RecalculateNormals() function resets the smoothing angle, thus breaking that approach. (unless I have missed something.)

I am also aware that you can just split all the triangle edges, thus making the vertex normals set at a right angle to the plane of the triangle, but for my application, that would generate an awful lot of additional vertices.

Thanks!

Polyworld is a great package for doing exactly that.