Skip to content

Releases: danilw/vulkan-shadertoy-launcher

Release 1.3

24 Feb 12:39
ce14540
Compare
Choose a tag to compare

To launch your shaders:

  1. Download empty_template_shadertoy.zip
  2. Put your shader code to the shaders/shadertoy/*.glsl files.
  3. 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:

Added launch option --gpu X to use selected GPU device X. Value X is 0 or 1 or 2 etc. By default, selected first GPU which supports graphics and presentation.

Screenshot hotkey - keyboard key Z image saved to .bmp format with alpha channel, GIMP support this image format.

Textures only in .png files. Cubemaps, 3d texture and audio/video not supported.

Wayland note - by default selected discrete GPU and if it Nvidia it does not support Wayland surface, to launch Wayland build select gpu that support Wayland in launch option --gpu 0 0/1/2 etc

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 and MSVS for win64. (tested on Windows 10)

vulkan-shadertoy-launcher_linux.zip - test shader with Wayland and X11 build for Linux64, build made in Ubuntu 16.04LTS. (tested on Ubuntu 16.04, 21.04, 22.04)

Test shader in this download - shadertoy link only as an example that logic work same as on shadertoy.