summaryrefslogtreecommitdiff
path: root/src/client/sky.cpp
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2021-10-16 19:21:53 +0200
committerHugues Ross <hugues.ross@gmail.com>2022-01-29 18:42:55 -0500
commita27362de6a66692b191f8db0eea13f8d9302cef6 (patch)
treed9564f08d6c280c56686e2017c2609f917df2d8b /src/client/sky.cpp
parent66e8aae9f2a28ee31ffe30694fdb61a8fdceb8d7 (diff)
downloadminetest-a27362de6a66692b191f8db0eea13f8d9302cef6.tar.gz
minetest-a27362de6a66692b191f8db0eea13f8d9302cef6.tar.bz2
minetest-a27362de6a66692b191f8db0eea13f8d9302cef6.zip
Disable dynamic shadows for the 5.5.0 release
The dynamic shadows are yet not in the desired state to justify the inclusion into version 5.5.0. A stable release is long overdue, hence this allows fixes to continue in 5.6.0-dev to finally release an acceptable version of the dynamic shadows feature. Reverting this commit is highly recommended to proceed in development.
Diffstat (limited to 'src/client/sky.cpp')
-rw-r--r--src/client/sky.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/sky.cpp b/src/client/sky.cpp
index 0ab710eee..7fe90c6cd 100644
--- a/src/client/sky.cpp
+++ b/src/client/sky.cpp
@@ -103,7 +103,7 @@ Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShade
m_directional_colored_fog = g_settings->getBool("directional_colored_fog");
- if (g_settings->getBool("enable_dynamic_shadows")) {
+ if (false && g_settings->getBool("enable_dynamic_shadows")) {
float val = g_settings->getFloat("shadow_sky_body_orbit_tilt");
m_sky_body_orbit_tilt = rangelim(val, 0.0f, 60.0f);
}