From: havoc Date: Sat, 5 Jul 2008 07:29:11 +0000 (+0000) Subject: changed default of r_depthfirst to 0, because in general it's a X-Git-Tag: xonotic-v0.1.0preview~2192 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3b2e82277806318881e94defcd1e0f979825a3ec;p=xonotic%2Fdarkplaces.git changed default of r_depthfirst to 0, because in general it's a performance loss rather than a gain git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8385 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 6b84a822..70eb82ea 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -33,7 +33,7 @@ rtexturepool_t *r_main_texturepool; // r_refdef_t r_refdef; -cvar_t r_depthfirst = {CVAR_SAVE, "r_depthfirst", "1", "renders a depth-only version of the scene before normal rendering begins to eliminate overdraw, values: 0 = off, 1 = world depth, 2 = world and model depth"}; +cvar_t r_depthfirst = {CVAR_SAVE, "r_depthfirst", "0", "renders a depth-only version of the scene before normal rendering begins to eliminate overdraw, values: 0 = off, 1 = world depth, 2 = world and model depth"}; cvar_t r_useinfinitefarclip = {CVAR_SAVE, "r_useinfinitefarclip", "1", "enables use of a special kind of projection matrix that has an extremely large farclip"}; cvar_t r_nearclip = {0, "r_nearclip", "1", "distance from camera of nearclip plane" }; cvar_t r_showbboxes = {0, "r_showbboxes", "0", "shows bounding boxes of server entities, value controls opacity scaling (1 = 10%, 10 = 100%)"};