mirror of
https://github.com/celisej567/Fake-CSM-Mapbase.git
synced 2026-09-11 20:08:41 +03:00
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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user