Skip to content

Commit

Permalink
Add a 7th graphical level preset
Browse files Browse the repository at this point in the history
Compared to level 6, it increases shadow resolution to 2048 and auto-LoD distances to Ultra.
  • Loading branch information
Alayan-stk-2 committed May 12, 2024
1 parent 53b6267 commit ad10bda
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/states_screens/options/options_screen_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ void OptionsScreenVideo::initPresets()
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
({
false /* motionblur */, false /* depth of field */
Expand Down Expand Up @@ -199,7 +207,7 @@ OptionsScreenVideo::OptionsScreenVideo() : Screen("options/options_video.stkgui"
void OptionsScreenVideo::loadedFromFile()
{
m_inited = false;
assert(m_presets.size() == 6);
assert(m_presets.size() == 7);
assert(m_blur_presets.size() == 3);

GUIEngine::SpinnerWidget* gfx =
Expand Down

0 comments on commit ad10bda

Please sign in to comment.