Skip to content

Commit 44de751

Browse files
committed
add parameter to build custom shader list
1 parent 422d760 commit 44de751

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/materialsystem/stdshaders/buildsdkshaders.bat

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ set SOURCE_DIR="..\..\"
88
rem Change me to your mod's name!
99
set GAME_DIR="..\..\..\game\tc2"
1010

11-
%BUILD_SHADER% stdshader_dx9_30 -game %GAME_DIR% -source %SOURCE_DIR% -force30
11+
set SHADER_LIST=stdshader_dx9_30
12+
if "%1"=="" goto build
13+
14+
set SHADER_LIST=%1
15+
16+
:build
17+
%BUILD_SHADER% %SHADER_LIST% -game %GAME_DIR% -source %SOURCE_DIR% -force30

0 commit comments

Comments
 (0)