X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=r_shadow.c;h=f81399d917e9590ea668a03422277e160f6ebd27;hp=adf1f0977e5df87043f69f89de0a7762bb5539df;hb=dc98ecacaacba54a82d156bfb8d26006b764f288;hpb=4c60998d3112b68eadb39e3fad303057c90c3706 diff --git a/r_shadow.c b/r_shadow.c index adf1f097..f81399d9 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -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;