Add a 7th graphical level preset

Compared to level 6, it increases shadow resolution to 2048 and auto-LoD distances to Ultra.
This commit is contained in:
Alayan 2024-05-12 18:12:19 +02:00
parent 53b6267d9d
commit ad10bda37e
No known key found for this signature in database

View File

@ -86,6 +86,14 @@ void OptionsScreenVideo::initPresets()
false /* degraded IBL */, 4 /* Geometry Detail */ false /* degraded IBL */, 4 /* Geometry Detail */
}); });
m_presets.push_back // Level 7
({
true /* light */, 2048 /* shadow */, true /* bloom */, true /* lightshaft */,
true /* glow */, true /* mlaa */, true /* ssao */, true /* light scatter */,
true /* animatedCharacters */, 2 /* particles */, 3 /* image_quality */,
false /* degraded IBL */, 5 /* Geometry Detail */
});
m_blur_presets.push_back m_blur_presets.push_back
({ ({
false /* motionblur */, false /* depth of field */ false /* motionblur */, false /* depth of field */
@ -199,7 +207,7 @@ OptionsScreenVideo::OptionsScreenVideo() : Screen("options/options_video.stkgui"
void OptionsScreenVideo::loadedFromFile() void OptionsScreenVideo::loadedFromFile()
{ {
m_inited = false; m_inited = false;
assert(m_presets.size() == 6); assert(m_presets.size() == 7);
assert(m_blur_presets.size() == 3); assert(m_blur_presets.size() == 3);
GUIEngine::SpinnerWidget* gfx = GUIEngine::SpinnerWidget* gfx =