X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_brush.h;h=33e033c1919d485f9ae0109479e5abc001d53d49;hb=86092f3c83153e7b6cca1a00f41887416978f1f0;hp=3b1d61624f9228a08946f70eac6e4d45c5f3ddc0;hpb=4a43205a0993d496822f3460158a41fd4f96c800;p=xonotic%2Fdarkplaces.git diff --git a/model_brush.h b/model_brush.h index 3b1d6162..33e033c1 100644 --- a/model_brush.h +++ b/model_brush.h @@ -123,12 +123,14 @@ mplane_t; #define MATERIALFLAG_CAMERA 0x02000000 // disable rtlight on surface - does not disable other types of lighting (LIGHTMAP, MODELLIGHT) #define MATERIALFLAG_NORTLIGHT 0x04000000 -// alphagen vertex +// alphagen vertex - should always be used with MATERIALFLAG_ALPHA | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW (or MATERIALFLAG_ADD instead of MATERIALFLAG_ALPHA) #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 +// sample the q3bsp lightgrid in the shader rather than relying on MATERIALFLAG_MODELLIGHT +#define MATERIALFLAG_LIGHTGRID 0x40000000 // 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 +221,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;