Impressive Pixel Shader of a Snail (GLSL)
The wizard behind Shadertoy has struk once again with this beautiful demo showing an animated snail.
The demo is available in the code samples pack in the host_api/GLSL_ShaderToy/ folder (snail_gl2.xml). The demo is also available in the X-MAS 15 pack HERE. To test the demo, just run GeeXLab (you can download the latest version from THIS PAGE) and load (or drag and drop) the demo (snail_gl2.xml) into GeeXLab (GeeXLab 0.9.2.0 is recommended).
I quickly benchmarked few GPUs with this demo. The default settings are 800×480 pixels in windowed mode. The anti-aliasing can be set directly in the pixel shader and is equal to 1 by default (line 30 in the snail_gl2.xml file). A value of 4 improves the visual quality but destroys the framerate 😉 (try for yourself). I benchmarked with AA=1.
Testbed: Core i5 6600K, ASUS Z170 Pro Gaming, 8GB DDR4 Corsair Vengeance, Win10 64-bit, all hardware with stock clock speeds.
The demo runs fine without artifacts on an Intel HD Graphics 530!
|Radeon R9 290X (Crimson 15.12)||89 FPS (avg)|
|GeForce GTX 960 (R361.43)||45 FPS (avg)|
|HD Graphics 530 (v4326)||10 FPS (avg)|
A time lapse of the creation process of this demo with Shadertoy is available here: