Why do we have to clear depth buffer in OpenGL during rendering?

前端 未结 0 1451
情话喂你
情话喂你 2021-02-13 08:11

I was trying to run an OpenGL code, it didn\'t have GL_DEPTH_BUFFER_BIT cleared in glClear(), because of which I couldn\'t render my scene. I added this bit, an

相关标签:
回答
  • 消灭零回复
提交回复
热议问题