From: havoc Date: Sat, 17 Oct 2009 10:11:11 +0000 (+0000) Subject: changed submodel polygonoffset from 2 to 4 to fix the lift to the quad X-Git-Tag: xonotic-v0.1.0preview~1292 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5532b9c60826ef797b907355177a3b83962de69e;p=xonotic%2Fdarkplaces.git changed submodel polygonoffset from 2 to 4 to fix the lift to the quad secret in e1m1 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9343 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index b0e5d782..29bd2d4b 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -79,7 +79,7 @@ cvar_t r_shadows_drawafterrtlighting = {CVAR_SAVE, "r_shadows_drawafterrtlightin cvar_t r_shadows_castfrombmodels = {CVAR_SAVE, "r_shadows_castfrombmodels", "0", "do cast shadows from bmodels"}; cvar_t r_q1bsp_skymasking = {0, "r_q1bsp_skymasking", "1", "allows sky polygons in quake1 maps to obscure other geometry"}; cvar_t r_polygonoffset_submodel_factor = {0, "r_polygonoffset_submodel_factor", "0", "biases depth values of world submodels such as doors, to prevent z-fighting artifacts in Quake maps"}; -cvar_t r_polygonoffset_submodel_offset = {0, "r_polygonoffset_submodel_offset", "2", "biases depth values of world submodels such as doors, to prevent z-fighting artifacts in Quake maps"}; +cvar_t r_polygonoffset_submodel_offset = {0, "r_polygonoffset_submodel_offset", "4", "biases depth values of world submodels such as doors, to prevent z-fighting artifacts in Quake maps"}; cvar_t r_fog_exp2 = {0, "r_fog_exp2", "0", "uses GL_EXP2 fog (as in Nehahra) rather than realistic GL_EXP fog"}; cvar_t r_drawfog = {CVAR_SAVE, "r_drawfog", "1", "allows one to disable fog rendering"};