From 919e4520c83bbca9d9ff665ec68afe81301d8159 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 26 Mar 2006 03:28:37 +0000 Subject: [PATCH] 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 --- gl_rmain.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)); -- 2.39.2