diff --git a/src/main_android.cpp b/src/main_android.cpp index 01cc5c56f..0e0fef80d 100644 --- a/src/main_android.cpp +++ b/src/main_android.cpp @@ -168,6 +168,12 @@ void override_default_params_for_mobile() Log::info("MainAndroid", "Render scale: %f", (float)UserConfigParams::m_scale_rtts_factor); } + + // Enable advanced lighting for android >= 8 + if (SDL_GetAndroidSDKVersion() >= 26) + { + UserConfigParams::m_dynamic_lights = true; + } #endif // Enable screen keyboard