Sys_Printf( "The -smooth argument is deprecated, use \"-samples 2\" instead\n" );
}
+ else if( !strcmp( argv[ i ], "-nofastpoint" ) )
+ {
+ fastpoint = qfalse;
+ Sys_Printf( "Automatic fast mode for point lights disabled\n" );
+ }
+
else if( !strcmp( argv[ i ], "-fast" ) )
{
fast = qtrue;
fastgrid = qtrue;
fastbounce = qtrue;
- Sys_Printf( "Fast mode enabled\n" );
+ Sys_Printf( "Fast mode enabled for all area lights\n" );
}
else if( !strcmp( argv[ i ], "-faster" ) )
light->flags |= LIGHT_FAST_TEMP;
else
light->flags &= ~LIGHT_FAST_TEMP;
+ if( fastpoint && (light->flags != EMIT_AREA) )
+ light->flags |= LIGHT_FAST_TEMP;
if( light->si && light->si->noFast )
light->flags &= ~(LIGHT_FAST | LIGHT_FAST_TEMP);
Q_EXTERN int deluxemode Q_ASSIGN( 0 ); /* deluxemap format (0 - modelspace, 1 - tangentspace with renormalization, 2 - tangentspace without renormalization) */
Q_EXTERN qboolean fast Q_ASSIGN( qfalse );
+Q_EXTERN qboolean fastpoint Q_ASSIGN( qtrue );
Q_EXTERN qboolean faster Q_ASSIGN( qfalse );
Q_EXTERN qboolean fastgrid Q_ASSIGN( qfalse );
Q_EXTERN qboolean fastbounce Q_ASSIGN( qfalse );