From: havoc Date: Tue, 9 Mar 2010 02:17:08 +0000 (+0000) Subject: okay, don't use shadow sampler in Cg X-Git-Tag: xonotic-v0.1.0preview~595 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f1a41dec9ae4cbd05e853b31e38d18a4c67a3f91;p=xonotic%2Fdarkplaces.git okay, don't use shadow sampler in Cg git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10048 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=826cff55f504e6b50ebb4eed1575e2d3380fbfeb --- diff --git a/r_shadow.c b/r_shadow.c index 8dc758f2..9b1fbf83 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -445,7 +445,7 @@ void R_Shadow_SetShadowMode(void) // Cg has very little choice in depth texture sampling if (vid.cgcontext) { - r_shadow_shadowmapsampler = true; + r_shadow_shadowmapsampler = false; r_shadow_shadowmode = R_SHADOW_SHADOWMODE_SHADOWMAP2D; } }