r4487 - trunk/misc
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Sep 23 02:24:50 EDT 2008
Author: div0
Date: 2008-09-23 02:24:48 -0400 (Tue, 23 Sep 2008)
New Revision: 4487
Modified:
trunk/misc/nexuiz-map-compiler
Log:
make nexuiz-map-compiler use external lightmaps
Modified: trunk/misc/nexuiz-map-compiler
===================================================================
--- trunk/misc/nexuiz-map-compiler 2008-09-23 06:23:24 UTC (rev 4486)
+++ trunk/misc/nexuiz-map-compiler 2008-09-23 06:24:48 UTC (rev 4487)
@@ -18,13 +18,13 @@
our $Q3MAP2FLAGS = '';
# Default flags for the -bsp stage
- our $BSPFLAGS = '-samplesize 8 -mv 1000000 -mi 6000000';
+ our $BSPFLAGS = '-samplesize 8 -minsamplesize 4 -mv 1000000 -mi 6000000';
# Default flags for the -vis stage
our $VISFLAGS = '';
# Default flags for the -light stage
- our $LIGHTFLAGS = '-deluxe -patchshadows -samples 3';
+ our $LIGHTFLAGS = '-deluxe -patchshadows -samples 3 -lightmapsize 512 -bounce 8 -fastbounce -bouncegrid';
# end of user changable part
@@ -171,6 +171,7 @@
}
close $shaderlist;
+ unlink <$m/lm_*>; # delete old external lightmaps
q3map2 '-bsp', '-meta', @{$options->{bsp}}, "$m.map"
or die "-bsp: $?";
if($prescale != 1)
More information about the nexuiz-commits
mailing list