}
q3shaderinfo_deform_t;
+typedef enum dpoffsetmapping_technique_s
+{
+ OFFSETMAPPING_OFF, // none
+ OFFSETMAPPING_DEFAULT, // cvar-set
+ OFFSETMAPPING_LINEAR, // linear
+ OFFSETMAPPING_RELIEF // relief
+}dpoffsetmapping_technique_t;
+
+
typedef struct q3shaderinfo_s
{
char name[Q3PATHLENGTH];
vec4_t reflectcolor4f; // color tint of reflection (including alpha factor)
float r_water_wateralpha; // additional wateralpha to apply when r_water is active
+ // offsetmapping
+ dpoffsetmapping_technique_t offsetmapping;
+ float offsetscale;
+
// gloss
float specularscalemod;
float specularpowermod;
vec4_t reflectcolor4f; // color tint of reflection (including alpha factor)
float r_water_wateralpha; // additional wateralpha to apply when r_water is active
+ // offsetmapping
+ dpoffsetmapping_technique_t offsetmapping;
+ float offsetscale;
+
// gloss
float specularscalemod;
float specularpowermod;
}
-texture_t;
+ texture_t;
typedef struct mtexinfo_s
{