add 'graphics.dense-render' setting

This commit is contained in:
MihailRis
2024-12-21 08:13:05 +03:00
parent 954724c837
commit dc8f5e7873
12 changed files with 111 additions and 47 deletions
+6
View File
@@ -63,16 +63,22 @@ struct GraphicsSettings {
NumberSetting gamma {1.0f, 0.4f, 1.0f};
/// @brief Enable blocks backlight to prevent complete darkness
FlagSetting backlight {true};
/// @brief Disable culling with 'optional' mode
FlagSetting denseRender {true};
/// @brief Enable chunks frustum culling
FlagSetting frustumCulling {true};
/// @brief Skybox texture face resolution
IntegerSetting skyboxResolution {64 + 32, 64, 128};
/// @brief Chunk renderer vertices buffer capacity
IntegerSetting chunkMaxVertices {200'000, 0, 4'000'000};
/// @brief Limit of chunk renderers count
IntegerSetting chunkMaxRenderers {6, -4, 32};
};
struct DebugSettings {
/// @brief Turns off chunks saving/loading
FlagSetting generatorTestMode {false};
/// @brief Write lights cache
FlagSetting doWriteLights {true};
};