X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=model_brush.h;h=9eae6abb9022ce2b19ef2907672da2067dd2be7f;hb=f57af416ea28b2f9a7aa3cae6a3cd3843093a1b8;hp=fb16732118d4c7ca1d18076ebdcf4bc579022a0a;hpb=a8b156d66e65793406f0039985f62307d153126e;p=xonotic%2Fdarkplaces.git diff --git a/model_brush.h b/model_brush.h index fb167321..9eae6abb 100644 --- a/model_brush.h +++ b/model_brush.h @@ -115,20 +115,20 @@ mplane_t; #define MATERIALFLAG_REFLECTION 0x00100000 // use model lighting on this material (q1bsp lightmap sampling or q3bsp lightgrid, implies FULLBRIGHT is false) #define MATERIALFLAG_MODELLIGHT 0x00200000 -// add directional model lighting to this material (q3bsp lightgrid only) -#define MATERIALFLAG_MODELLIGHT_DIRECTIONAL 0x00400000 // causes RSurf_GetCurrentTexture to leave alone certain fields #define MATERIALFLAG_CUSTOMSURFACE 0x00800000 // causes MATERIALFLAG_BLENDED to render a depth pass before rendering, hiding backfaces and other hidden geometry #define MATERIALFLAG_TRANSDEPTH 0x01000000 // like refraction, but doesn't distort etc. #define MATERIALFLAG_CAMERA 0x02000000 -// disable rtlight on surface, use R_LightPoint instead +// disable rtlight on surface - does not disable other types of lighting (LIGHTMAP, MODELLIGHT) #define MATERIALFLAG_NORTLIGHT 0x04000000 // alphagen vertex #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 @@ -219,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;