From: havoc Date: Thu, 24 Dec 2009 09:54:27 +0000 (+0000) Subject: don't project shadows so far - this fixes broken shadows with X-Git-Tag: xonotic-v0.1.0preview~983 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=382db72f9143ab63a34070dc05f9b90aafccc8d0;p=xonotic%2Fdarkplaces.git don't project shadows so far - this fixes broken shadows with r_useinfinitefarclip 0 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9665 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index 702371b1..1ca3518b 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -287,7 +287,7 @@ cvar_t r_shadow_lightattenuationlinearscale = {0, "r_shadow_lightattenuationline cvar_t r_shadow_lightintensityscale = {0, "r_shadow_lightintensityscale", "1", "renders all world lights brighter or darker"}; cvar_t r_shadow_lightradiusscale = {0, "r_shadow_lightradiusscale", "1", "renders all world lights larger or smaller"}; cvar_t r_shadow_portallight = {0, "r_shadow_portallight", "1", "use portal culling to exactly determine lit triangles when compiling world lights"}; -cvar_t r_shadow_projectdistance = {0, "r_shadow_projectdistance", "1000000", "how far to cast shadows"}; +cvar_t r_shadow_projectdistance = {0, "r_shadow_projectdistance", "0", "how far to cast shadows"}; cvar_t r_shadow_frontsidecasting = {0, "r_shadow_frontsidecasting", "1", "whether to cast shadows from illuminated triangles (front side of model) or unlit triangles (back side of model)"}; cvar_t r_shadow_realtime_dlight = {CVAR_SAVE, "r_shadow_realtime_dlight", "1", "enables rendering of dynamic lights such as explosions and rocket light"}; cvar_t r_shadow_realtime_dlight_shadows = {CVAR_SAVE, "r_shadow_realtime_dlight_shadows", "1", "enables rendering of shadows from dynamic lights"};