]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
added support for GL_ARB_texture_env_combine, currently only used on wall rendering...
[xonotic/darkplaces.git] / model_brush.h
index 2d2634eb3eac7640f24469415dd8ef12b9e87241..bd233df27923d2812f84728f9a41762a6e0d5523 100644 (file)
@@ -133,9 +133,9 @@ typedef struct msurface_s
 
        int                     lightmaptexturenum;
        byte            styles[MAXLIGHTMAPS];
-       unsigned short  cached_light[MAXLIGHTMAPS];     // values currently used in lightmap
+       unsigned short cached_light[MAXLIGHTMAPS];      // values currently used in lightmap
        short           cached_dlight;                          // LordHavoc: if lightmap was lit by dynamic lights, update on frame after end of effect to erase it
-       short           cached_lighthalf;                       // LordHavoc: to cause lightmap to be rerendered when lighthalf changes
+       short           cached_lightscalebit;           // 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;