glDepthFunc(GL_ALWAYS);. This is the reason you see the spheres in the order they are drawn. Setting the depth function to GL_ALWAYS simply means all depth ...
確定! 回上一頁