add 'xray_opacity' NotePreset property

This commit is contained in:
MihailRis
2024-11-15 00:38:41 +03:00
parent 3a1e90f517
commit ef644ca56d
6 changed files with 30 additions and 15 deletions
+5 -1
View File
@@ -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);
}