Skip to content

Commit

Permalink
Fixed shader script
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Oct 15, 2021
1 parent 64cd2ef commit aca4a82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Src/Shaders/CompileShaders.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ if exist %PCFXC% goto continue
set PCFXC=fxc.exe

:continue
@if %CompileShadersOutput%.==. set CompileShadersOutput=Compiled
if not defined CompileShadersOutput set CompileShadersOutput=Compiled
set StrTrim=%CompileShadersOutput%##
set StrTrim=%StrTrim: ##=%
set CompileShadersOutput=%StrTrim:##=%
@if not exist %CompileShadersOutput% mkdir %CompileShadersOutput%
call :CompileShader%1 AlphaTestEffect vs VSAlphaTest
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestNoFog
Expand Down

0 comments on commit aca4a82

Please sign in to comment.