]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
enabled USETEXMATRIX because it wasn't broken after all (testing mistake made me...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Mar 2004 08:24:46 +0000 (08:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Mar 2004 08:24:46 +0000 (08:24 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4024 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index adf1f0977e5df87043f69f89de0a7762bb5539df..f81399d917e9590ea668a03422277e160f6ebd27 100644 (file)
@@ -1214,7 +1214,7 @@ void R_Shadow_GenTexCoords_Specular_NormalCubeMap(float *out3f, int numverts, co
        }
 }
 
-#define USETEXMATRIX 0 // broken
+#define USETEXMATRIX 1
 void R_Shadow_RenderLighting(int numverts, int numtriangles, const int *elements, const float *vertex3f, const float *svector3f, const float *tvector3f, const float *normal3f, const float *texcoord2f, const float *relativelightorigin, const float *relativeeyeorigin, const float *lightcolor, const matrix4x4_t *matrix_modeltolight, const matrix4x4_t *matrix_modeltoattenuationxyz, const matrix4x4_t *matrix_modeltoattenuationz, rtexture_t *basetexture, rtexture_t *bumptexture, rtexture_t *glosstexture, rtexture_t *lightcubemap, int lighting)
 {
        int renders;