Fix sky rendering.

This commit is contained in:
iProgramInCpp
2023-07-31 22:25:58 +03:00
parent 16bfb1359e
commit 65406ef97e
5 changed files with 19 additions and 31 deletions

View File

@@ -434,6 +434,7 @@ void GameRenderer::renderLevel(float f)
glEnable(GL_BLEND);
glDisable(GL_CULL_FACE);
// glDepthMask(false); -- added in 0.1.1j. Introduces more issues than fixes
// render the alpha layer
m_pMinecraft->m_pTextures->loadAndBindTexture(C_TERRAIN_NAME);