glEnable( GL_DEPTH_TEST ); glDepthFunc(GL_GREATER);// / GL_LESS glDepthMask(GL_TRUE); glClearDepth(1.0f); glClear( GL_DEPTH_BUFFER_BIT);.
確定! 回上一頁