private static void SetShadow(int lod, bool init = false) { if (!init) { ShadowController.RefreshShadows(); } else { ShadowController.IsPreviousRealTimeShadowEnable = GameLevelManager.IsRealTimeShadowOn(); } }