mach/shaderexp
iddev5 2d53b8bdfd examples: Do not return bool on update()
Also replaced all ``return false;`` usages with Engine.setShouldClose(true).
2022-06-08 07:31:53 -07:00
..
example-shaders shaderexp: add initial shader explorer tool (#245) 2022-04-21 04:44:02 -07:00
black_screen_frag.wgsl shaderexp: add initial shader explorer tool (#245) 2022-04-21 04:44:02 -07:00
frag.wgsl shaderexp: add initial shader explorer tool (#245) 2022-04-21 04:44:02 -07:00
main.zig examples: Do not return bool on update() 2022-06-08 07:31:53 -07:00
README.md shaderexp: add initial shader explorer tool (#245) 2022-04-21 04:44:02 -07:00
vert.wgsl shaderexp: add initial shader explorer tool (#245) 2022-04-21 04:44:02 -07:00

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.