Shadertoy Multipass Demopack for GeeXLab




Shadertoy Multipass Demos Ported to GeeXLab

If you love multipass demos available in Shadertoy, then you’re going to appreciate this demopack for GeeXLab.

The multipass rendering is a powerful feature added to Shadertoy in January 2016. Few months ago I created a kind of framework in order to easily convert these fantastic demos to GeeXLab. But as often, I switched to something else and forgot to publish this multipass demopack. It’s fixed now!

How to test these multipass demos?

  1. be sure to have a decent GPU…
  2. download GeeXLab from this page. I tested the demos on Windows only. They should run on Linux and macOS as well but there’s no warranty.
  3. download the code sample pack. You can find the multipass demos in the following folder: gl-21/shadertoy-multipass/
  4. launch GeeXLab and load the demo.xml file available in each gl21-xxxx sub-folder. On Windows, a drag and drop is enough, on Linux you have to edit the demo.sh file and change the /demofile command line option.

Here are some demos available in the demopack. I tested these demos on Windows 10 64-bit with an EVGA GeForce GTX 1060 (with R375.95) and with an MSI Radeon RX 470 (with Crimson 16.11.4).

gl21-elephant

original demo @ shadertoy
– runs at 17 FPS (resolution: 1280×720) on the GTX 1060. When I said that a decent graphics card was necessary…
– runs at 14 FPS (resolution: 1280×720) on the RX 470.


Shadertoy Multipass Demos Ported to GeeXLab

 

gl21-shader-rally

original demo @ shadertoy
– runs at 28 FPS (resolution: 1280×720) on the GTX 1060.
– runs at 33 FPS (resolution: 1280×720) on the RX 470.0
– the AWSD keys can be used to drive the car…


Shadertoy Multipass Demos Ported to GeeXLab

 

gl21-rhodium-liquid-carbon

original demo @ shadertoy
– runs at 73 FPS (resolution: 1280×720) on the GTX 1060.
– runs at 44 FPS (resolution: 1280×720) on the RX 470.


Shadertoy Multipass Demos Ported to GeeXLab

 

gl21-full-scene-radial-blur

original demo @ shadertoy
– runs at 380 FPS (resolution: 1280×720) on the GTX 1060.
– runs at 190 FPS (resolution: 1280×720) on the RX 470.


Shadertoy Multipass Demos Ported to GeeXLab

 
If you need more accurate results, you can create a batch file on Windows with the following content:

GeeXLab.exe /benchmark_duration_ms=20000 /benchmark_log_score /no_menubar /demofile=”./shadertoy-multipass/gl21-full-scene-radial-blur/demo.xml”

 
This file starts GeeXLab and automatically loads the demo specified by /demofile. GeeXLab will run for 20 seconds (20000 ms) and the result (score, FPS, etc.) will be written in a CSV file called _geexlab_scores.csv.

 
Other demos available in the pack:


Shadertoy Multipass Demos Ported to GeeXLab
Shadertoy Multipass Demos Ported to GeeXLab
Shadertoy Multipass Demos Ported to GeeXLab
Shadertoy Multipass Demos Ported to GeeXLab


2 thoughts on “Shadertoy Multipass Demopack for GeeXLab”

Leave a Comment

Your email address will not be published. Required fields are marked *