To launch your shaders:
- Download empty_template_shadertoy.zip
- Put your shader code to the
shaders/shadertoy/*.glsl
files. - Build shaders (to spv Vulkan shader format) use build_shaders.cmd for Windows or build_shaders.sh for Linux in the shaders folder.
Hotkeys, launch options, limitations:
--gpu X
to use selected GPU device X. ValueX
is 0 or 1 or 2 etc--resX
or/and--resY
- set resolution--resX 1280
--pause
- pause on frame 0--screenshot_and_close
make screenshot BMP on iFrame==0 and close- Screenshot hotkey - keyboard key
Z
image saved to .bmp format with alpha channel, GIMP support this image format. - Pause - space.
- Esc - close.
Textures only in .png files. Cubemaps, 3d texture and audio/video not supported.
Prebuild binaries:
empty_template_shadertoy.zip - this is new shader template from shadertoy with Win and Linux binaries(exe).
vulkan-shadertoy-launcher_win.zip - test shader with Windows exe build using mingw for win64. (tested on Windows 10)
vulkan-shadertoy-launcher_linux.zip - test shader with Wayland and X11 build for Linux64
Test shader in this download - shadertoy link only as an example that logic work same as on shadertoy.