mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Added configurable ambient_occlusion_gamma. Default is 2.2 (same as previous hardcoded values).
This commit is contained in:
parent
57f2fa57cd
commit
e19dab2622
3 changed files with 15 additions and 5 deletions
|
@ -159,6 +159,7 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("water_wave_speed", "5.0");
|
||||
settings->setDefault("enable_waving_leaves", "false");
|
||||
settings->setDefault("enable_waving_plants", "false");
|
||||
settings->setDefault("ambient_occlusion_gamma", "2.2");
|
||||
settings->setDefault("enable_shaders", "true");
|
||||
settings->setDefault("repeat_rightclick_time", "0.25");
|
||||
settings->setDefault("enable_particles", "true");
|
||||
|
@ -346,4 +347,3 @@ void override_default_settings(Settings *settings, Settings *from)
|
|||
settings->setDefault(name, from->get(name));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue