new inputs

-new input LightColor that changes a color.
-new input SetAngles that changes angles
-added csm_intensity convar

-now TurnOn and TurnOff its Enable and Disable
This commit is contained in:
2022-09-05 21:54:11 +03:00
parent 118c2dcb1f
commit bcd7cfad25
4 changed files with 203 additions and 44 deletions

View File

@@ -1396,13 +1396,7 @@ bool CClientShadowMgr::Init()
SetShadowBlobbyCutoffArea( 0.005 );
#ifndef MAPBASE
bool bTools = CommandLine()->CheckParm( "-tools" ) != NULL;
m_nMaxDepthTextureShadows = bTools ? 4 : 1; // Just one shadow depth texture in games, more in tools
#else
// 5 lets mappers use up to 4 shadow-casting projected textures, which is better than 3.
m_nMaxDepthTextureShadows = pr_max.GetInt();
#endif
bool bLowEnd = ( g_pMaterialSystemHardwareConfig->GetDXSupportLevel() < 80 );