mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Merge pull request #916 from MihailRis/fix-water-screen
fix black screen in water
This commit is contained in:
commit
5df0053980
1 changed files with 5 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue