Had to change mat_slopescaledepthbias_shadowmap back to 16 due to issues with objects like citizens looking strange up close

This commit is contained in:
Blixibon 2021-04-24 11:47:41 -05:00
parent a92ca7ceac
commit 5eda2f692f

View File

@ -1434,7 +1434,7 @@ bool CClientShadowMgr::Init()
mat_slopescaledepthbias_shadowmap = ConVarRef( "mat_slopescaledepthbias_shadowmap" ); mat_slopescaledepthbias_shadowmap = ConVarRef( "mat_slopescaledepthbias_shadowmap" );
mat_depthbias_shadowmap = ConVarRef( "mat_depthbias_shadowmap" ); mat_depthbias_shadowmap = ConVarRef( "mat_depthbias_shadowmap" );
mat_slopescaledepthbias_shadowmap.SetValue( "2" ); mat_slopescaledepthbias_shadowmap.SetValue( "16" ); // Would do something like 2 here, but it causes citizens to look weird under flashlights
mat_depthbias_shadowmap.SetValue( "0.00005" ); mat_depthbias_shadowmap.SetValue( "0.00005" );
#endif #endif