How to make the sun a light source in my solar system simulation program with pyopengl and pygame?
I wrote a Planet class and use draw_self function to render the sphere, but I didn’t know where I should put the code about lighting.
I wrote a Planet class and use draw_self function to render the sphere, but I didn’t know where I should put the code about lighting.