]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
fixed bug where animated mdl skins (such as Tomaz's health box and
[xonotic/darkplaces.git] / model_brush.h
index c4e3fb25e9f846aa6a00c4a8927d5b8a3ebae484..9d29e4d8a8d5db12e8172cd2966f2084fde3ec1a 100644 (file)
@@ -97,6 +97,8 @@ mplane_t;
 #define MATERIALFLAG_VERTEXTEXTUREBLEND 32768
 // disables GL_CULL_FACE on this texture (making it double sided)
 #define MATERIALFLAG_NOCULLFACE 65536
+// 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 131072
 // combined mask of all attributes that require depth sorted rendering
 #define MATERIALFLAGMASK_DEPTHSORTED (MATERIALFLAG_BLENDED | MATERIALFLAG_NODEPTHTEST)