From 1e42a4f0959d25b435d0b08e0cbe6521fbcced6d Mon Sep 17 00:00:00 2001 From: jal Date: Mon, 14 Jun 2010 19:50:45 +0200 Subject: [PATCH] Fix vertexlighting and gridlighting being too dark when using floodlight and bounce (stop floodlighting being re-applied to lightmaps with each bounce stage) --- tools/quake3/q3map2/light_ydnar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.2