From: jal Date: Mon, 14 Jun 2010 17:50:45 +0000 (+0200) Subject: Fix vertexlighting and gridlighting being too dark when using floodlight and bounce... X-Git-Tag: xonotic-v0.5.0~255^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1e42a4f0959d25b435d0b08e0cbe6521fbcced6d;p=xonotic%2Fnetradiant.git Fix vertexlighting and gridlighting being too dark when using floodlight and bounce (stop floodlighting being re-applied to lightmaps with each bounce stage) --- diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index 70c728d0..b32c9a29 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -2359,7 +2359,8 @@ void IlluminateRawLightmap( int rawLightmapNum ) FreeTraceLights( &trace ); /* floodlight pass */ - FloodlightIlluminateLightmap(lm); + if( floodlighty ) + FloodlightIlluminateLightmap(lm); if (debugnormals) {