Update c_env_cascade_light.cpp

-temporarily removed some console commands.
This commit is contained in:
2022-09-15 17:52:13 +03:00
parent f1219bdeef
commit af2b5cd8e5

View File

@@ -23,12 +23,12 @@ static ConVarRef mat_depthbias_shadowmap("mat_depthbias_shadowmap");
static ConVar scissor("r_flashlightscissor", "0");
#ifdef MAPBASE
static ConVar csm_ortho("csm_ortho","0", 0, "Turn light into ortho. Im lazy right now to make this works fine");
ConVar csm_ortho_nearz("csm_ortho_nearz", "512");
ConVar csm_ortho_left("csm_ortho_left", "-1000");
ConVar csm_ortho_top("csm_ortho_top", "-1000");
ConVar csm_ortho_bottom("csm_ortho_bottom", "1000");
ConVar csm_ortho_right("csm_ortho_right", "1000");
//static ConVar csm_ortho("csm_ortho","0", 0, "Turn light into ortho. Im lazy right now to make this works fine");
//ConVar csm_ortho_nearz("csm_ortho_nearz", "512");
//ConVar csm_ortho_left("csm_ortho_left", "-1000");
//ConVar csm_ortho_top("csm_ortho_top", "-1000");
//ConVar csm_ortho_bottom("csm_ortho_bottom", "1000");
//ConVar csm_ortho_right("csm_ortho_right", "1000");
//ConVar csm_test_color_interpolation("csm_test_color_interpolation","0"); //<2F> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#endif
@@ -68,7 +68,7 @@ void C_LightOrigin::Simulate()
BaseClass::Simulate();
}
ConVar bebra("csm_filter", "1");
ConVar bebra("csm_filter", "1"); //if you have r_flashlightdepthres 4096 then better to change 0.5
//-----------------------------------------------------------------------------
// Purpose: main csm code