]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
implemented music playlist system with 10 playlists, automatic track
[xonotic/darkplaces.git] / model_brush.h
index ffe9599fc5efa1b6454d152a9d60212e19ed7dac..0463d74d1eedc3a8fe65f79ff5143f250b77dda5 100644 (file)
@@ -110,6 +110,8 @@ mplane_t;
 #define MATERIALFLAG_MODELLIGHT_DIRECTIONAL 8388608
 // causes RSurf_GetCurrentTexture to leave alone certain fields
 #define MATERIALFLAG_CUSTOMSURFACE 16777216
+// causes MATERIALFLAG_BLENDED to render a depth pass before rendering, hiding backfaces and other hidden geometry
+#define MATERIALFLAG_TRANSDEPTH 33554432
 // combined mask of all attributes that require depth sorted rendering
 #define MATERIALFLAGMASK_DEPTHSORTED (MATERIALFLAG_BLENDED | MATERIALFLAG_NODEPTHTEST)
 // combined mask of all attributes that cause some sort of transparency