]> de.git.xonotic.org Git - xonotic/darkplaces.git/blob - r_shadow.h
cbd35c6b06bc3f2006b93d42a85bf4901738cd34
[xonotic/darkplaces.git] / r_shadow.h
1
2 #ifndef R_SHADOW_H
3 #define R_SHADOW_H
4
5 void R_Shadow_Init(void);
6 void R_Shadow_Volume(int numverts, int numtris, float *vertex, int *elements, int *neighbors, vec3_t relativelightorigin, float lightradius, float projectdistance, int visiblevolume);
7 void R_Shadow_Light(int numverts, float *normals, vec3_t relativelightorigin, float lightradius, float lightdistbias, float lightsubtract, float *lightcolor);
8 void R_Shadow_RenderLightThroughStencil(int numverts, int numtris, int *elements, vec3_t relativelightorigin, float *normals);
9 void R_Shadow_ClearStencil(void);
10
11 void R_Shadow_RenderVolume(int numverts, int numtris, int *elements, int visiblevolume);
12 void R_Shadow_Stage_Depth(void);
13 void R_Shadow_Stage_ShadowVolumes(void);
14 void R_Shadow_Stage_Light(void);
15 void R_Shadow_Stage_Textures(void);
16 void R_Shadow_Stage_End(void);
17
18 #endif