mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 09:59:44 +00:00
update advanced render lighting model
This commit is contained in:
parent
09b427be1e
commit
25cee0284f
4 changed files with 26 additions and 17 deletions
|
|
@ -85,8 +85,12 @@ LevelScreen::LevelScreen(
|
|||
};
|
||||
keepAlive(settings.graphics.backlight.observe(resetChunks));
|
||||
keepAlive(settings.graphics.softLighting.observe(resetChunks));
|
||||
keepAlive(settings.graphics.denseRender.observe([=](bool flag) {
|
||||
resetChunks(flag);
|
||||
keepAlive(settings.graphics.denseRender.observe([=](bool) {
|
||||
resetChunks(false);
|
||||
frontend->getContentGfxCache().refresh();
|
||||
}));
|
||||
keepAlive(settings.graphics.shadowsQuality.observe([=](int quality) {
|
||||
resetChunks(false);
|
||||
frontend->getContentGfxCache().refresh();
|
||||
}));
|
||||
keepAlive(settings.camera.fov.observe([=](double value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue