From: divverent Date: Thu, 5 Apr 2018 00:32:02 +0000 (+0000) Subject: Fix "Cully McCullface" bug found by terencehill. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a8b156d66e65793406f0039985f62307d153126e;p=xonotic%2Fdarkplaces.git Fix "Cully McCullface" bug found by terencehill. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12361 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.h b/model_brush.h index 98f114f0..fb167321 100644 --- a/model_brush.h +++ b/model_brush.h @@ -104,7 +104,7 @@ mplane_t; // render using vertex alpha (q3bsp) as texture blend parameter between foreground (normal) skinframe and background skinframe #define MATERIALFLAG_VERTEXTEXTUREBLEND 0x00008000 // disables GL_CULL_FACE on this texture (making it double sided) -#define MATERIALFLAG_NOCULLFACE 0x000100000 +#define MATERIALFLAG_NOCULLFACE 0x00010000 // render with a very short depth range (like 10% of normal), this causes entities to appear infront of most of the scene #define MATERIALFLAG_SHORTDEPTHRANGE 0x00020000 // render water, comprising refraction and reflection (note: this is always opaque, the shader does the alpha effect)