]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
Fix setinfo.
[xonotic/darkplaces.git] / model_brush.h
index 2eb384700cf30faee514084e80f89741f0a6b446..9eae6abb9022ce2b19ef2907672da2067dd2be7f 100644 (file)
@@ -127,6 +127,8 @@ mplane_t;
 #define MATERIALFLAG_ALPHAGEN_VERTEX 0x08000000
 // use occlusion buffer for corona
 #define MATERIALFLAG_OCCLUDE 0x10000000
+// use vertex color instead of lighting (e.g. particles and other glowy stuff), use with MATERIALFLAG_FULLBRIGHT
+#define MATERIALFLAG_VERTEXCOLOR 0x20000000
 // 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
@@ -217,6 +219,7 @@ typedef struct mportal_s
        mvertex_t *points;
        vec3_t mins, maxs; // culling
        mplane_t plane;
+       double tracetime; // refreshed to realtime by traceline tests
 }
 mportal_t;