]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/light.c
q3map2: add -externalnames option to write explicit external lightmap names when...
[xonotic/netradiant.git] / tools / quake3 / q3map2 / light.c
index 99d794840f6787fa836f2450ea2060afc44a1b37..39e5c7adbd0826552769fcac9af8c5fb96189392 100644 (file)
@@ -2546,6 +2546,12 @@ int LightMain( int argc, char **argv ){
                        Sys_Printf( "Storing all lightmaps externally\n" );
                }
 
+               else if ( !strcmp( argv[ i ], "-externalnames" ) ) {
+                       externalLightmaps = qtrue;
+                       externalLightmapNames = qtrue;
+                       Sys_Printf( "Writing lightstyle shader using external lightmap names\n" );
+               }
+
                else if ( !strcmp( argv[ i ], "-lightmapsize" ) ) {
                        lmCustomSize = atoi( argv[ i + 1 ] );