Disable light blur on lowest lighting quality.

This commit is contained in:
Pieter-Jan Briers
2021-09-21 08:21:01 +02:00
parent 00fbffcddf
commit 900e912c28

View File

@@ -191,18 +191,22 @@ namespace Content.Client.EscapeMenu.UI.Tabs
case 0: case 0:
_cfg.SetCVar(CVars.DisplayLightMapDivider, 8); _cfg.SetCVar(CVars.DisplayLightMapDivider, 8);
_cfg.SetCVar(CVars.DisplaySoftShadows, false); _cfg.SetCVar(CVars.DisplaySoftShadows, false);
_cfg.SetCVar(CVars.DisplayBlurLight, false);
break; break;
case 1: case 1:
_cfg.SetCVar(CVars.DisplayLightMapDivider, 2); _cfg.SetCVar(CVars.DisplayLightMapDivider, 2);
_cfg.SetCVar(CVars.DisplaySoftShadows, false); _cfg.SetCVar(CVars.DisplaySoftShadows, false);
_cfg.SetCVar(CVars.DisplayBlurLight, true);
break; break;
case 2: case 2:
_cfg.SetCVar(CVars.DisplayLightMapDivider, 2); _cfg.SetCVar(CVars.DisplayLightMapDivider, 2);
_cfg.SetCVar(CVars.DisplaySoftShadows, true); _cfg.SetCVar(CVars.DisplaySoftShadows, true);
_cfg.SetCVar(CVars.DisplayBlurLight, true);
break; break;
case 3: case 3:
_cfg.SetCVar(CVars.DisplayLightMapDivider, 1); _cfg.SetCVar(CVars.DisplayLightMapDivider, 1);
_cfg.SetCVar(CVars.DisplaySoftShadows, true); _cfg.SetCVar(CVars.DisplaySoftShadows, true);
_cfg.SetCVar(CVars.DisplayBlurLight, true);
break; break;
} }
} }