Browse Source

game/client(android): view optimization

pull/133/head
nillerusr 2 years ago
parent
commit
b9a21f26ba
  1. 8
      game/client/view.cpp

8
game/client/view.cpp

@ -118,7 +118,13 @@ ConVar mat_viewportscale( "mat_viewportscale", "1.0", FCVAR_ARCHIVE, "Scale down @@ -118,7 +118,13 @@ ConVar mat_viewportscale( "mat_viewportscale", "1.0", FCVAR_ARCHIVE, "Scale down
ConVar mat_viewportupscale( "mat_viewportupscale", "1", FCVAR_ARCHIVE, "Scale the viewport back up" );
ConVar cl_leveloverview( "cl_leveloverview", "0", FCVAR_CHEAT );
static ConVar r_mapextents( "r_mapextents", "16384", FCVAR_CHEAT,
#ifdef ANDROID
#define MAPEXTENTS_DEFAULT "12288" // small optimization
#else
#define MAPEXTENTS_DEFAULT "16384"
#endif
static ConVar r_mapextents( "r_mapextents", MAPEXTENTS_DEFAULT, FCVAR_CHEAT,
"Set the max dimension for the map. This determines the far clipping plane" );
// UNDONE: Delete this or move to the material system?

Loading…
Cancel
Save