I started working on a 3d engine some time ago and after a while, after I implemented the basic objects(cubes,polygons), I wanted to make a sphere. It was all good until I started implementing the lights.
I noticed that the sphere was badly lighted and didn't resemble the spheres made with the "auxSolidSphere()" function.
My questions are: What is th best way to mke a sphere(and an algorithm for it) and how to efficiently light it
P.S. I work in OpenGL