diff --git a/sp/src/utils/vrad/vrad.cpp b/sp/src/utils/vrad/vrad.cpp index a7cba1c07ea..a04a678056b 100644 --- a/sp/src/utils/vrad/vrad.cpp +++ b/sp/src/utils/vrad/vrad.cpp @@ -2471,6 +2471,15 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) { do_fast = true; } +#ifdef MAPBASE + else if(!Q_stricmp(argv[i], "-ultrafast")) + { + do_fast = true; + g_bFastAmbient = true; + do_extra = false; + numbounce = 1; + } +#endif else if (!Q_stricmp(argv[i],"-noskyboxrecurse")) { g_bNoSkyRecurse = true; @@ -2777,6 +2786,9 @@ void PrintUsage( int argc, char **argv ) " -v (or -verbose): Turn on verbose output (also shows more command\n" " -bounce # : Set max number of bounces (default: 100).\n" " -fast : Quick and dirty lighting.\n" +#ifdef MAPBASE + " -ultrafast : Very quick and dirty lighting, same as -fast -fastambient -noextra -bounce 1\n" +#endif " -fastambient : Per-leaf ambient sampling is lower quality to save compute time.\n" " -final : High quality processing. equivalent to -extrasky 16.\n" " -extrasky n : trace N times as many rays for indirect light and sky ambient.\n"