Shadows on curves
Added videos as textures
This commit is contained in:
parent
fc6659d418
commit
cacee3270a
1 changed files with 11 additions and 0 deletions
11
gl_model.h
11
gl_model.h
|
@ -43,6 +43,14 @@ m*_t structures are in-memory
|
|||
#define EF_FULLDYNAMIC 16
|
||||
|
||||
|
||||
//PENTA: moved here, we needed it
|
||||
typedef struct plane_s
|
||||
{
|
||||
vec3_t normal;
|
||||
float dist;
|
||||
} plane_t;
|
||||
|
||||
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
|
@ -102,6 +110,7 @@ typedef struct
|
|||
int width, height;
|
||||
qboolean mipmap;
|
||||
int type;
|
||||
void *dynamic; //if this is set we have a texture with changing pixels (currently only roq's)
|
||||
} gltexture_t;
|
||||
|
||||
#define SHADER_MAX_NAME 128
|
||||
|
@ -272,6 +281,7 @@ typedef struct mesh_s
|
|||
vec3_t *tangents;
|
||||
vec3_t *binormals;
|
||||
vec3_t *normals;
|
||||
plane_t *triplanes; //per triangle plane eq's (for shadow volumes)
|
||||
int numvertices;
|
||||
|
||||
int *indecies;
|
||||
|
@ -285,6 +295,7 @@ typedef struct mesh_s
|
|||
int visframe;
|
||||
int lightTimestamp;
|
||||
mapshader_t *shader;
|
||||
int lightmapIndex;
|
||||
|
||||
struct mesh_s *next; //for the texture chains
|
||||
struct mesh_s *shadowchain;
|
||||
|
|
Loading…
Reference in a new issue