1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)

This commit is contained in:
rubenwardy
2022-01-31 21:48:14 +00:00
committed by GitHub
parent 1e4d6672be
commit c61998bd20
7 changed files with 65 additions and 13 deletions

View File

@@ -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 (false && g_settings->getBool("enable_dynamic_shadows")) {
if (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);
}