I have a problem which I cannot seem to solve. When I render my image, it should be smooth. However, I am getting a messy rendering which looks like there is some sort of grid ontop of it - as seen in the screenshot below.
Basically it’s a fairly simple program. I am plotting a large list of vertex, calculating the normal vector for each polygon and adding ambient light.
Could it be my normals are not facing the right direction?