When I draw triangles using the following codes, the edges which are the intersection of two triangles are not shaded smoothly. The edges are shaded like saw. Please let me know
how to make shading triangles smoothly.
glHint(GL_PERSPECTIVE_CORRECTION_HINT , GL_NICEST);
glNormal3f(0.0f, -1.0f, 0.0f);
glVertex3f(0.0f, 0.0f, 60.0f);
glVertex3f(-15.0f, 0.0f, 30.0f);