Skybox textures do not display correctly
问题 I have a problem with skybox textures. If you twist the camera, it creates a feeling that one texture overlays another, as in the screenshot: Skybox show code: private void drawSkybox(int texId){ glColor4f(1,1,1,1); glDepthMask(false); glEnable(GL_TEXTURE_CUBE_MAP); glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_CUBE_MAP, texId); glBindVertexArray(vao[0]); glBindBuffer (GL_ARRAY_BUFFER, vbo[0]); glDrawArrays(GL_TRIANGLES, 0, 36); glBindVertexArray(0); glBindBuffer (GL_ARRAY_BUFFER, 0)