Add glEnable(GL_LIGHTING) in the key function (use the 'e' key to activate/deactivate lighting). 1) What do you see when enabling lighting? Why? Several lights ...
確定! 回上一頁