Merge branch 'main' into refactor-world-renderer

This commit is contained in:
MihailRis 2026-08-05 21:07:38 +03:00
commit 8b683e322e

View file

@ -464,8 +464,11 @@ void WorldRenderer::renderFrame(
if (player.currentCamera == player.fpCamera) {
renderHandsPass(pctx, camera);
}
renderBlockOverlay(pctx);
{
auto bctx = pctx.sub();
bctx.useTexture(advanced_pipeline::TARGET_COLOR, nullptr);
renderBlockOverlay(pctx);
}
glActiveTexture(GL_TEXTURE0);
}