glColor3f (0f,1f,0f); //gives us green gl.glColor3f(0f,0f,1f); //gives us blue. In case of triangle, you can apply different colors for each vertex.
確定! 回上一頁