mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)
This commit is contained in:
parent
1e4d6672be
commit
c61998bd20
7 changed files with 65 additions and 13 deletions
|
@ -733,7 +733,7 @@ ShaderInfo ShaderSource::generateShader(const std::string &name,
|
|||
|
||||
shaders_header << "#define FOG_START " << core::clamp(g_settings->getFloat("fog_start"), 0.0f, 0.99f) << "\n";
|
||||
|
||||
if (false && g_settings->getBool("enable_dynamic_shadows")) {
|
||||
if (g_settings->getBool("enable_dynamic_shadows")) {
|
||||
shaders_header << "#define ENABLE_DYNAMIC_SHADOWS 1\n";
|
||||
if (g_settings->getBool("shadow_map_color"))
|
||||
shaders_header << "#define COLORED_SHADOWS 1\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue