mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
Merge branch 'main' into refactor-world-renderer
This commit is contained in:
commit
8b683e322e
1 changed files with 5 additions and 2 deletions
|
|
@ -464,8 +464,11 @@ void WorldRenderer::renderFrame(
|
||||||
if (player.currentCamera == player.fpCamera) {
|
if (player.currentCamera == player.fpCamera) {
|
||||||
renderHandsPass(pctx, camera);
|
renderHandsPass(pctx, camera);
|
||||||
}
|
}
|
||||||
renderBlockOverlay(pctx);
|
{
|
||||||
|
auto bctx = pctx.sub();
|
||||||
|
bctx.useTexture(advanced_pipeline::TARGET_COLOR, nullptr);
|
||||||
|
renderBlockOverlay(pctx);
|
||||||
|
}
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue