| .. | ||
| example-shaders | ||
| black_screen_frag.wgsl | ||
| frag.wgsl | ||
| main.zig | ||
| README.md | ||
| vert.wgsl | ||
Shaderexp
This is an executable for testing wgsl shaders on the fly.
Build it and run it with:
zig build run-shaderexp
Then modify shaderexp/frag.wgsl and save. The window will update and use the new fragment shader. If errors occur, the window will show a black_screen and an error message will be written to stdout.