Flat shading on Procedural meshes

I already tried separating the vertices for each face, and i’m generating them in real time. I also tried feeding normals directly, but that is with no success, the faces are still smooth shaded.
What am I doing wrong ?