From: havoc Date: Sun, 26 Mar 2006 03:28:37 +0000 (+0000) Subject: disable skymasking in q3bsp because it causes issues with q3map2 sky tricks (and... X-Git-Tag: xonotic-v0.1.0preview~4135 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=919e4520c83bbca9d9ff665ec68afe81301d8159;p=xonotic%2Fdarkplaces.git disable skymasking in q3bsp because it causes issues with q3map2 sky tricks (and reenabled the skipping of skymasking on hlbsp also) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6191 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index c4f2b1fc..214599df 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -2811,7 +2811,10 @@ static void R_DrawTextureSurfaceList(const entity_render_t *ent, texture_t *text } GL_DepthMask(true); // LordHavoc: HalfLife maps have freaky skypolys... - //if (!ent->model->brush.ishlbsp) + // LordHavoc: Quake3 never did sky masking (unlike software Quake + // and Quake2), so disable the sky masking in Quake3 maps as it + // causes problems with q3map2 sky tricks + if (!ent->model->brush.ishlbsp && ent->model->type != mod_brushq3) { GL_Color(fogcolor[0], fogcolor[1], fogcolor[2], 1); memset(&m, 0, sizeof(m));