vmap script: Add VMAP_FASTVIS env check

This commit is contained in:
Marco Cawthorne 2021-08-25 09:02:56 +02:00
parent be0df99c8d
commit 966f376942
1 changed files with 6 additions and 2 deletions

8
vmap
View File

@ -26,9 +26,13 @@ if [ "$VMAP_NOBSP" != "1" ]; then
fi
if [ "$VMAP_NOVIS" != "1" ]; then
"$SCRPATH"/bin/vmap -vis -v -fs_basepath "$SCRPATH" -fs_game platform $*
if [ "$VMAP_FASTVIS" != "1" ]; then
"$SCRPATH"/bin/vmap -vis -v -fs_basepath "$SCRPATH" -fs_game platform $*
else
"$SCRPATH"/bin/vmap -vis -v -fast -fs_basepath "$SCRPATH" -fs_game platform $*
fi
fi
if [ "$VMAP_NOLIGHT" != "1" ]; then
"$SCRPATH"/bin/vmap -light -custinfoparms -fs_basepath "$SCRPATH" -v -fs_game platform -bounce 8 -fastbounce -samplesize 8 -threads $BUILD_PROC -shade -shadeangle 60 -patchshadows $*
"$SCRPATH"/bin/vmap -light -custinfoparms -fs_basepath "$SCRPATH" -v -fs_game platform -bounce 8 -samplesize 8 -threads $BUILD_PROC -shade -shadeangle 60 -patchshadows $*
fi