diff --git a/compile_shaders.bat b/compile_shaders.bat index f663ac65..cb6f258c 100644 --- a/compile_shaders.bat +++ b/compile_shaders.bat @@ -7,9 +7,9 @@ CALL :compile_shaders_in_dir .\tests\resources\observer\block\shaders\global_lig CALL :compile_shaders_in_dir .\tests\resources\observer\isometric\shaders\lighting CALL :compile_shaders_in_dir .\tests\resources\observer\sprite\shaders\health_bars -CALL :compile_shaders_in_dir .\python\examples\Custom Shaders\Global Lighting\shaders -CALL :compile_shaders_in_dir .\python\examples\Custom Shaders\Health Bars\shaders -CALL :compile_shaders_in_dir .\python\examples\Custom Shaders\Object Lighting\shaders +CALL :compile_shaders_in_dir ".\python\examples\Custom Shaders\Global Lighting\shader" +CALL :compile_shaders_in_dir ".\python\examples\Custom Shaders\Health Bars\shaders" +CALL :compile_shaders_in_dir ".\python\examples\Custom Shaders\Object Lighting\shaders" @@ -17,5 +17,5 @@ EXIT /B 0 :compile_shaders_in_dir echo "Compiling shaders in %~1" -%GLSLC_BIN% %~1\triangle-textured.frag -o %~1\triangle-textured.frag.spv -%GLSLC_BIN% %~1\triangle-textured.vert -o %~1\triangle-textured.vert.spv +%GLSLC_BIN% "%~1\triangle-textured.frag" -o "%~1\triangle-textured.frag.spv" +%GLSLC_BIN% "%~1\triangle-textured.vert" -o "%~1\triangle-textured.vert.spv"