}
blendweights_t;
-typedef struct r_vertexposition_s
-{
- // 12 bytes
- float vertex3f[3];
-}
-r_vertexposition_t;
-
typedef struct r_vertexgeneric_s
{
// 24 bytes
qboolean isanimated;
// vertex and index buffers for rendering
- r_vertexposition_t *vertexposition;
r_vertexmesh_t *vertexmesh;
- r_meshbuffer_t *vertexpositionbuffer;
+ r_meshbuffer_t *vertex3fbuffer;
r_meshbuffer_t *vertexmeshbuffer;
}
surfmesh_t;
size_t vbooffset_texcoord2f;
// vertex/index buffers for rendering
// (created by Mod_ShadowMesh_Finish if possible)
- r_vertexposition_t *vertexposition;
r_vertexmesh_t *vertexmesh; // usually NULL
- r_meshbuffer_t *vertexpositionbuffer;
+ r_meshbuffer_t *vertex3fbuffer;
r_meshbuffer_t *vertexmeshbuffer; // usually NULL
}
shadowmesh_t;
float reflectfactor; // amount of reflection distort (1.0 = like the cvar specifies)
vec4_t reflectcolor4f; // color tint of reflection (including alpha factor)
float r_water_wateralpha; // additional wateralpha to apply when r_water is active
+ float r_water_waterscroll[2]; // water normalmapscrollblend - scale and speed
// offsetmapping
dpoffsetmapping_technique_t offsetmapping;
float offsetscale;
+ // polygonoffset (only used if Q3TEXTUREFLAG_POLYGONOFFSET)
+ float biaspolygonoffset, biaspolygonfactor;
+
// gloss
float specularscalemod;
float specularpowermod;
float reflectfactor; // amount of reflection distort (1.0 = like the cvar specifies)
vec4_t reflectcolor4f; // color tint of reflection (including alpha factor)
float r_water_wateralpha; // additional wateralpha to apply when r_water is active
+ float r_water_waterscroll[2]; // scale and speed
int camera_entity; // entity number for use by cameras
// offsetmapping
//extern cvar_t gl_subdivide_size;
// texture fullbrights
extern cvar_t r_fullbrights;
+extern cvar_t r_enableshadowvolumes;
void Mod_Init (void);
void Mod_Reload (void);