]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Fix vertexlighting and gridlighting being too dark when using floodlight and bounce...
authorjal <germangar@gmail.com>
Mon, 14 Jun 2010 17:50:45 +0000 (19:50 +0200)
committerjal <germangar@gmail.com>
Mon, 14 Jun 2010 17:50:45 +0000 (19:50 +0200)
tools/quake3/q3map2/light_ydnar.c

index 70c728d0835e574665c23a58a650aa8e98a84f3f..b32c9a29c64ea8d628d16228e2222188ae4c9d42 100644 (file)
@@ -2359,7 +2359,8 @@ void IlluminateRawLightmap( int rawLightmapNum )
        FreeTraceLights( &trace );
        
        /* floodlight pass */
-       FloodlightIlluminateLightmap(lm);
+       if( floodlighty )
+               FloodlightIlluminateLightmap(lm);
 
        if (debugnormals)
        {