gl.glEnable(GL2.GL_LIGHTING);. Once you have enabled lighting, calls to glColor no longer have any effect and you need to set material properties for each ...
確定! 回上一頁