Introduction - If you have any usage issues, please Google them yourself
Through the OpenGL function to achieve the earth, the sun, the moon s rotation, and between, to the earth texture mapping, and the realization of the sun as a point light source, the earth and the moon shadow