alphastrata/shadplay

how to run example shaders?

johnny-smitherson opened this issue · 1 comments

Is there a list with example/gallery shaders that one can go through, inside the program, or must they be copy/pasted into the main shader file one at a time?

Is there a list with example/gallery shaders that one can go through, inside the program, or must they be copy/pasted into the main shader file one at a time?

You can drag and drop the example ones directly onto the window ( if they're valid), or you can just save things as the myshader_2d.wgsl (not 2d obviously when you're on a 3D shape)

There's also a more exhaustive list of most of the examples in the assets/Gallery dir https://github.com/alphastrata/shadplay/tree/main/assets/Gallery.

Was it really that unclear from the README? I guess I'll have to make a gif or something...