Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions sp/src/utils/vrad/vrad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"
Expand Down