// 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;
rtexture_t *backgroundglosstexture;
float specularscale;
float specularpower;
+ // color tint (colormod * currentalpha) used for rtlighting this material
+ float dlightcolor[3];
// from q3 shaders
int customblendfunc[2];