I’m fairly new to OpenGL still, but I think there is some error in lighting and/or using depth test to render a few quadric spheres. What happens is the sphere renders fine (it rotates as well), but when applying lighting to it I see striations on the sphere. And, when I enable depth test, it makes my sphere look like a giant disco ball (see pictures). Any ideas what could cause this? I’m not sure how to post code, or I would (tags, or just copy/paste?).
Depth Test + Lighting:
I’m new to this forum, so forgive me if I’m posting incorrectly. Thanks in advance.