add shadowMinQuality property and gl_light_shadow_max_quality CVar

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-02 12:26:49 -03:00 committed by Magnus Norddahl
commit 9073fb8501
14 changed files with 61 additions and 2 deletions

View file

@ -156,6 +156,7 @@ void FLightDefaults::ApplyProperties(FDynamicLight * light) const
light->swapped = m_swapped;
}
light->SetOffset(m_Pos); // this must be the last thing to do.
light->shadowMinQuality = shadowMinQuality;
}
void FLightDefaults::SetAttenuationForLevel(bool yes)