shaderexp: add initial shader explorer tool (#245)
* shaderexp: first commit * shaderexp: further improve error handling * shaderexp: attribute ray_marching example Signed-off-by: Stephen Gutekanst <stephen@hexops.com> Co-authored-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8d574e772c
commit
8df8b043ad
9 changed files with 646 additions and 0 deletions
8
shaderexp/README.md
Normal file
8
shaderexp/README.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue