mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add API to control shadow intensity from the game/mod (#11944)
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
This commit is contained in:
parent
8d55702d13
commit
0f25fa7af6
24 changed files with 375 additions and 169 deletions
|
@ -266,7 +266,7 @@ void set_default_settings()
|
|||
|
||||
// Effects Shadows
|
||||
settings->setDefault("enable_dynamic_shadows", "false");
|
||||
settings->setDefault("shadow_strength", "0.2");
|
||||
settings->setDefault("shadow_strength_gamma", "1.0");
|
||||
settings->setDefault("shadow_map_max_distance", "200.0");
|
||||
settings->setDefault("shadow_map_texture_size", "2048");
|
||||
settings->setDefault("shadow_map_texture_32bit", "true");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue