The Full OpenGL lighting Equation (stolen shamelessly off the internet):. It might be a good idea to go through ... glEnable(GL_LIGHT0); //enable the light.
確定! 回上一頁