To tell OpenGL to use lighting calculations, call glEnable with the. GL_LIGHTING parameter: • This call tells OpenGL to use material properties and lighting ...
確定! 回上一頁