Update c_env_cascade_light.cpp

This commit is contained in:
2022-09-18 21:35:47 +03:00
parent 3d00a8ca15
commit 8148199d1b

View File

@@ -585,7 +585,7 @@ void C_EnvCascadeLightSecond::UpdateLight(bool bForceUpdate)
state.m_nShadowQuality = m_nShadowQuality; // Allow entity to affect shadow quality
#ifdef MAPBASE
/*
state.m_bOrtho = csm_ortho.GetBool();
if(state.m_bOrtho)
{
@@ -599,7 +599,7 @@ void C_EnvCascadeLightSecond::UpdateLight(bool bForceUpdate)
state.m_fLinearAtten = ConVarRef("csm_current_distance").GetInt() * 2;
state.m_FarZAtten = ConVarRef("csm_current_distance").GetInt() * 2;
}
*/
#endif
if (m_LightHandle == CLIENTSHADOW_INVALID_HANDLE)