Original Post
I'm having a difficulty in smooth shading: I specfy the vertices and normals of an object one by one in between glBegin(gl.GL_QUADS) and glEnd() and flat shading is working properly. However when I switch to smooth shading, instead of shading the whole object, the program smooth shades each quad one by one, which is not what I'm trying to do. What's the correct way of doing that? Thank you for any help