Uniforms and compiling shaders with a script

This commit is contained in:
nothke
2024-06-11 20:43:41 +02:00
parent a8dd27f3a4
commit e2a9053866
4 changed files with 628 additions and 2 deletions

1
compile_shaders.bat Normal file
View File

@@ -0,0 +1 @@
sokol-shdc -i src/shaders/triangle.glsl -o src/shaders/triangle2.glsl.zig -l glsl410:metal_macos:hlsl5:glsl300es:wgsl -f sokol_zig