]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
another attempt at WIN32RELEASE
[xonotic/darkplaces.git] / model_brush.h
index 0c0f0e56847f1566eaec2dce6a9f8ae48a5f8148..3e90e25304ca614f8934cfee6ed5a50b9ba52a4e 100644 (file)
@@ -110,6 +110,8 @@ mplane_t;
 #define MATERIALFLAG_MODELLIGHT_DIRECTIONAL 8388608
 // 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
+#define MATERIALFLAGMASK_TRANSLUCENT (MATERIALFLAG_WATERALPHA | MATERIALFLAG_SKY | MATERIALFLAG_NODRAW | MATERIALFLAG_ALPHATEST | MATERIALFLAG_BLENDED | MATERIALFLAG_WATERSHADER | MATERIALFLAG_REFRACTION)
 
 typedef struct medge_s
 {