Merge pull request #916 from MihailRis/fix-water-screen

fix black screen in water
This commit is contained in:
MihailRis 2026-08-05 21:07:13 +03:00 • committed by GitHub
commit 5df0053980
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -470,8 +470,11 @@ void WorldRenderer::renderFrame(
setupWorldShader(entityShader, hudcam, engine.getSettings(), 0.0f);
hands->render(camera);
}
renderBlockOverlay(pctx);
{
auto bctx = pctx.sub();
bctx.useTexture(advanced_pipeline::TARGET_COLOR, nullptr);
renderBlockOverlay(pctx);
}
glActiveTexture(GL_TEXTURE0);
}