Doing Lighting. glShadeModel(GL_SMOOTH); glEnable(GL_LIGHTING); glEnable(GL_LIGHT0); glBegin(GL_TRIANGLES); glNormal3f(nx[0], ny[0], ...
確定! 回上一頁