]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/light.c
Turn some UT stuff into options, as it is broken for Nexuiz. Also add -nodeluxenormal...
[xonotic/netradiant.git] / tools / quake3 / q3map2 / light.c
index 5130b2a21886461c99115948f72ddb737c2b4c88..29472a19ad7d501a94107400f5a76b90edda942b 100644 (file)
@@ -1999,6 +1999,12 @@ int LightMain( int argc, char **argv )
                        Sys_Printf( "Generating deluxemaps for average light direction\n" );
                }
                
+               else if( !strcmp( argv[ i ], "-nodeluxenormalize" ) )
+               {
+                       normalizeDeluxemap = qfalse;
+                       Sys_Printf( "Not normalizing deluxemaps\n" );
+               }
+               
                else if( !strcmp( argv[ i ], "-external" ) )
                {
                        externalLightmaps = qtrue;
@@ -2322,7 +2328,14 @@ int LightMain( int argc, char **argv )
                                dirtGain = 1.0f;
                        Sys_Printf( "Dirtmapping gain set to %.1f\n", dirtGain );
                }
-               
+               else if( !strcmp( argv[ i ], "-trianglecheck" ) )
+               {
+                       lightmapTriangleCheck = qtrue;
+               }
+               else if( !strcmp( argv[ i ], "-extravisnudge" ) )
+               {
+                       lightmapExtraVisClusterNudge = qtrue;
+               }
                /* unhandled args */
                else
                {