*/
ColorToBytesNonZero(color, bgp->ambient[i], gridScale * gridAmbientScale);
} else {
- ColorToBytes(color, bgp->ambient[i], gridScale * gridAmbientScale);
+ ColorToBytes( color, bgp->ambient[ i ], gridScale * gridAmbientScale );
}
ColorToBytes( gp->directed[ i ], bgp->directed[ i ], gridScale );
}
UnparseEntities();
if ( storeForReal ) {
- Sys_Printf( "Writing %s\n", BSPFilePath );
- WriteBSPFile( BSPFilePath );
+ Sys_Printf( "Writing %s\n", BSPFilePath );
+ WriteBSPFile( BSPFilePath );
}
/* note it */
const char *value;
int lightmapMergeSize = 0;
qboolean lightSamplesInsist = qfalse;
- qboolean fastAllocate = qfalse;
+ qboolean fastAllocate = qtrue;
qboolean noBounceStore = qfalse;
/* note it */
Sys_Printf( "Slow lightmap allocation mode enabled (default)\n" );
}
+ else if ( !strcmp( argv[ i ], "-slowallocate" ) ) {
+ fastAllocate = qfalse;
+ Sys_Printf( "Slow allocation mode enabled\n" );
+ }
+
else if ( !strcmp( argv[ i ], "-fastgrid" ) ) {
fastgrid = qtrue;
Sys_Printf( "Fast grid lighting enabled\n" );