mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'xray_opacity' NotePreset property
This commit is contained in:
parent
3a1e90f517
commit
ef644ca56d
6 changed files with 30 additions and 15 deletions
|
|
@ -139,7 +139,7 @@ void WorldRenderer::renderLevel(
|
|||
bool pause,
|
||||
bool hudVisible
|
||||
) {
|
||||
texts->renderTexts(ctx, camera, settings, hudVisible, false);
|
||||
texts->render(ctx, camera, settings, hudVisible, false);
|
||||
|
||||
bool culling = engine->getSettings().graphics.frustumCulling.get();
|
||||
float fogFactor =
|
||||
|
|
@ -332,6 +332,10 @@ void WorldRenderer::draw(
|
|||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
DrawContext ctx = wctx.sub();
|
||||
texts->render(ctx, camera, settings, hudVisible, true);
|
||||
}
|
||||
renderBlockOverlay(wctx);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue