]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
make shader permutatiosn eat less memory again. 864MB was justt oo much.
[xonotic/darkplaces.git] / render.h
index d01a87093f19d3c43a747119ded5341466e45147..b893fff91a66c3c8c1a8ae5b85e21837568ec3b6 100644 (file)
--- a/render.h
+++ b/render.h
@@ -408,12 +408,16 @@ typedef enum gl20_texunit_e
        // conflicts with lightmap/deluxemap
        GL20TU_ATTENUATION = 9,
        GL20TU_CUBE = 10,
+       GL20TU_SHADOWMAPRECT = 11,
+       GL20TU_SHADOWMAPCUBE = 11,
+       GL20TU_SHADOWMAP2D = 11,
 }
 gl20_texunit;
 
 void R_SetupGenericShader(qboolean usetexture);
 void R_SetupGenericTwoTextureShader(int texturemode);
 void R_SetupDepthOrShadowShader(void);
+void R_SetupShowDepthShader(void);
 void R_SetupSurfaceShader(const vec3_t lightcolorbase, qboolean modellighting, float ambientscale, float diffusescale, float specularscale, rsurfacepass_t rsurfacepass);
 
 typedef struct r_waterstate_waterplane_s