]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
Implemented r_ambient (mainly for sake of Nehahra's insanely dark maps).
[xonotic/darkplaces.git] / model_brush.h
index 625da0107be18e72a4fd7b74564c48038f095e8f..8deb6abbc5e30cda1e0b3e1baa1f7078d88967ac 100644 (file)
@@ -137,6 +137,7 @@ typedef struct msurface_s
        int                     cached_light[MAXLIGHTMAPS];     // values currently used in lightmap
        qboolean        cached_dlight;                          // true if dynamic light in cache
        qboolean        cached_lighthalf;                       // LordHavoc: to cause lightmap to be rerendered when lighthalf changes
+       float           cached_ambient;                         // LordHavoc: rerender lightmaps when r_ambient changes
        byte            *samples;               // [numstyles*surfsize]
 } msurface_t;