From 5eda2f692f2dfeb82cbe0045371ae06f7576410b Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sat, 24 Apr 2021 11:47:41 -0500 Subject: [PATCH] Had to change mat_slopescaledepthbias_shadowmap back to 16 due to issues with objects like citizens looking strange up close --- sp/src/game/client/clientshadowmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/game/client/clientshadowmgr.cpp b/sp/src/game/client/clientshadowmgr.cpp index 81aa16bc..9dc2a5fe 100644 --- a/sp/src/game/client/clientshadowmgr.cpp +++ b/sp/src/game/client/clientshadowmgr.cpp @@ -1434,7 +1434,7 @@ bool CClientShadowMgr::Init() mat_slopescaledepthbias_shadowmap = ConVarRef( "mat_slopescaledepthbias_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" ); #endif