From 7349e20fba3c2b469616505907109863e8cb4a9e Mon Sep 17 00:00:00 2001 From: eihrul Date: Thu, 1 Oct 2009 18:32:29 +0000 Subject: [PATCH] use nearest filtering on VSDCT git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9274 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_shadow.c b/r_shadow.c index 7a3cf131..7f6c212c 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -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) -- 2.39.2