]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use nearest filtering on VSDCT
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Oct 2009 18:32:29 +0000 (18:32 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Oct 2009 18:32:29 +0000 (18:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9274 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 7a3cf131e28f67447d8ecc1c287d4cf0639ab562..7f6c212cfd241e61f29eb827f0ed40e721115cce 100644 (file)
@@ -1552,7 +1552,7 @@ static void R_Shadow_MakeVSDCT(void)
                0,   0, 0x33, 0xFF, // +Z: <0, 0>, <0.5, 2.5>
                0,   0, 0x99, 0xFF, // -Z: <0, 0>, <1.5, 2.5>
        };
-       r_shadow_shadowmapvsdcttexture = R_LoadTextureCubeMap(r_shadow_texturepool, "shadowmapvsdct", 1, data, TEXTYPE_RGBA, TEXF_ALWAYSPRECACHE | TEXF_FORCELINEAR | TEXF_CLAMP | TEXF_ALPHA, NULL); 
+       r_shadow_shadowmapvsdcttexture = R_LoadTextureCubeMap(r_shadow_texturepool, "shadowmapvsdct", 1, data, TEXTYPE_RGBA, TEXF_ALWAYSPRECACHE | TEXF_FORCENEAREST | TEXF_CLAMP | TEXF_ALPHA, NULL); 
 }
 
 void R_Shadow_RenderMode_ShadowMap(int side, qboolean clear, int size)