]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/light.c
new light option -fill to improve lossy compression of lightmaps (should have no...
[xonotic/netradiant.git] / tools / quake3 / q3map2 / light.c
index 99a5a47b4436b4b4893287908f385e26ab4e996f..a703faacf53e8fff145e897ef42351055e3e62af 100644 (file)
@@ -2754,6 +2754,11 @@ int LightMain( int argc, char **argv )
                {
                        lightmapExtraVisClusterNudge = qtrue;
                }
+               else if( !strcmp( argv[ i ], "-fill" ) )
+               {
+                       lightmapFill = qtrue;
+                       Sys_Printf( "Filling lightmap colors from surrounding pixels to improve JPEG compression\n" );
+               }
                /* unhandled args */
                else
                {