]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
WarpZones:
[xonotic/darkplaces.git] / model_brush.h
index 34519383dc72af8b09cc3cef85f580bf3ff4386f..ab2a5121833d813747eddf2cd3e0d625a0d1d255 100644 (file)
@@ -114,6 +114,8 @@ mplane_t;
 #define MATERIALFLAG_CUSTOMSURFACE 16777216
 // causes MATERIALFLAG_BLENDED to render a depth pass before rendering, hiding backfaces and other hidden geometry
 #define MATERIALFLAG_TRANSDEPTH 33554432
+// like refraction, but doesn't distort etc.
+#define MATERIALFLAG_CAMERA 67108864
 // 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