A new version of the Shadertoy demopack is available to run Shadertoy demos on your desktop.
I added two news folders for all upcoming demos:
- gl-shadertoy-singlepass: single pass demos. In Shadertoy, these demos have a single pixel shader (called image).
- gl-shadertoy-singlepass: multipass demos. These demos have one image-shader and up to 4 buffer-shaders (buffer A, B, C and D).
The main change in these new demos is the use of an Dear ImGui-based control panel for all parameters and information. Demos can add their own ImGui controls in the gui.lua file (available in each demo folder). These new shadertoy demos require GeeXLab 0.40+.
Unzip the pack where you want, and drag and drop any demo (main.xml or demo.xml) into GeeXLab.
If you want to benchmark and log scores, you can do it via command line:
GeeXLab /width=1920 /height=1080 /fullscreen /demofile="absolute_path_to_the_demo.xml" /demofile_abs_path=1 /no_menubar /benchmark_duration_ms=10000 /benchmark_log_score
Many demos, if not all, are shipped with live-coding ready pixel shader. That means you can edit the shader file (shader_img.glsl in single pass demos) in your favorite text editor and any change is instantly visible.