mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-04-30 00:49:34 +03:00
Merge pull request #385 from Unusuario2/vrad-ultrafast-command
New vrad "-ultrafast" command added to vrad.
This commit is contained in:
commit
e4c10506a8
@ -2471,6 +2471,15 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail )
|
|||||||
{
|
{
|
||||||
do_fast = true;
|
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"))
|
else if (!Q_stricmp(argv[i],"-noskyboxrecurse"))
|
||||||
{
|
{
|
||||||
g_bNoSkyRecurse = true;
|
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"
|
" -v (or -verbose): Turn on verbose output (also shows more command\n"
|
||||||
" -bounce # : Set max number of bounces (default: 100).\n"
|
" -bounce # : Set max number of bounces (default: 100).\n"
|
||||||
" -fast : Quick and dirty lighting.\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"
|
" -fastambient : Per-leaf ambient sampling is lower quality to save compute time.\n"
|
||||||
" -final : High quality processing. equivalent to -extrasky 16.\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"
|
" -extrasky n : trace N times as many rays for indirect light and sky ambient.\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user