added polygonoffset as a texture property, used on submodels (such as
[xonotic/darkplaces.git] / model_shared.h
index 1ce9f2e..58f15c8 100644 (file)
@@ -411,6 +411,10 @@ typedef struct texture_s
        // current material flags (updated each bmodel render)
        int currentmaterialflags;
 
+       // current PolygonOffset values for rendering this material
+       float currentpolygonfactor;
+       float currentpolygonoffset;
+
        // textures to use when rendering this material
        skinframe_t *currentskinframe;
        int numskinframes;