Author Topic: Shadertoy Demopack  (Read 15900 times)

0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack
« on: January 24, 2019, 02:04:11 PM »
Here is a new demopack for GeeXLab. The pack contains all Shadertoy demos from the full code sample pack: old demos (OpenGL 2.1 in gl-21-xxxx/ folders) and recent demos (OpenGL 3.2 in gl-32-xxxx/ folders). There is also a special folder for Raspberry Pi (gl-21-shadertoy-rpi/).

The latest version of the shadertoy demopack can be downloaded from this link:

- Shadertoy Demopack DOWNLOAD


You can download the latest GeeXLab from this page:

- GeeXLab DOWNLOADs


Usage:
- unzip the demopack where you want.
- drag and drop a demo (.xml file) into GeeXLab.



Shadertoy to GeeXLab Demopack

Shadertoy to GeeXLab Demopack

Shadertoy to GeeXLab Demopack




JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Ink and Silver
« Reply #1 on: January 24, 2019, 02:14:10 PM »
Demo Ink and Silver ported to GeeXLab

Location in the demopack: gl-32-shadertoy-01/gl32-ink-and-silver.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed:
- around 960 FPS @ 800x480 on a GeForce GTX 1080 + driver 417.71
- around 130 FPS @ 2560x1440 on a GeForce GTX 1080 + driver 417.71


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:51:01 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - procedural BVH
« Reply #2 on: January 24, 2019, 02:20:52 PM »
Demo Procedural BVH ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-multipass/gl32-procedural-bvh/demo.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed:
- around 22 FPS @ 800x480 and 900x480 on a GeForce GTX 1080 + driver 417.71
- around 6 FPS @ 2560x1440 on a GeForce GTX 1080 + driver 417.71


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:50:51 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Register Allocation
« Reply #3 on: January 25, 2019, 02:48:35 PM »
Demo Register Allocation ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-register-allocation.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Tests:

- Resolution: 800x480
- GPU: GeForce GTX 1080 + 417.71 + Win10 64-bit 1809

NUM is a constant that can be changed in the pixel shader source code (line 75 in the XML demo file).

- NUM = 256 => 4500 FPS
- NUM = 512 => 3500 FPS
- NUM = 1024 => 2900 FPS
- NUM = 2048 => 2900 FPS
- NUM = 3072 => 2800 FPS
- NUM = 4080 => 2800 FPS

- NUM = 4096 => compiler crash
  => Internal error: assembly compile error for fragment shader at offset 783:
     line 27, column 12:  error: size of temp array must be integer

- NUM = 8192  => 0(47) : error C5041: cannot locate suitable resource to bind variable "data". Possibly large array.



For NUM=4096, the NVIDIA GLSL compiler gave me:
Quote
-------------
Internal error: assembly compile error for fragment shader at offset 783:
-- error message --
line 27, column 12:  error: size of temp array must be integer
line 31, column 12:  error: expected ','
line 39, column 12:  error: expected ','
line 43, column 12:  error: expected ','
line 44, column 20:  error: expected ';'
line 45, column 20:  error: expected ';'
line 46, column 20:  error: expected ';'
-- internal assembly text --
!!NVfp5.0
OPTION NV_internal;
OPTION NV_bindless_texture;
# cgc version 3.4.0001, build date Jan 11 2019
# command line args:
#vendor NVIDIA Corporation
#version 3.4.0.1 COP Build Date Jan 11 2019
#profile gp5fp
#program main
#semantic iResolution
#semantic iTime
#semantic iMouse
#semantic iFrame
#semantic data : __LOCAL
#var float4 gl_FragCoord : $vin.WPOS : WPOS : -1 : 1
#var float4 FragColor : $vout.COL00 : COL0[0] : -1 : 1
#var float4 v_texcoord :  :  : -1 : 0
#var float3 iResolution :  :  : -1 : 0
#var float iTime :  : c[0] : -1 : 1
#var float4 iMouse :  :  : -1 : 0
#var int iFrame :  : c[1] : -1 : 1
#var float4 data[0] :  : lmem0[0], 4096 : -1 : 1
PARAM c[2] = { program.local[0..1] };
ATTRIB fragment_position = fragment.position;
TEMP R0, R1, R2;
TEMP T;
TEMP lmem0[4096];
OUTPUT result_color0 = result.color;
MOV.F R0.yzw, {0, 1, 0, 0}.xxxy;
SIN.F32 R0.x, c[0].x;
MOV.F lmem0[0], R0;
TRUNC.S R1.x, fragment.position;
ADD.S R0.y, R1.x, c[1].x;
MOD.S R0.y, R0, {4096, 0, 0, 0}.x;
MOV.F R0.xzw, {0, 1, 0, 0}.xyxy;
MOV.S R1.x, R0.y;
ADD.F32 R1.y, c[0].x, {2, 0, 0, 0}.x;
SIN.F32 R0.y, R1.y;
MOV.F lmem0[R1.x], R0;
ADD.F32 R0.z, c[0].x, {4, 0, 0, 0}.x;
MOV.F R0.xyw, {0, 1, 0, 0}.xxzy;
SIN.F32 R0.z, R0.z;
MOV.F lmem0[4095], R0;
MOV.F R2.xyz, lmem0[4095].xyzw;
MOV.F R1.xyz, lmem0[R1.x].xyzw;
MOV.F R0.xyz, lmem0[0].xyzw;
ADD.F32 R0.xyz, R0, R1;
ADD.F32 result_color0.xyz, R0, R2;
MOV.F result_color0.w, {1, 0, 0, 0}.x;
END
# 21 instructions, 3 R-regs


For NUM=8192 :
Quote
0(47) : error C5041: cannot locate suitable resource to bind variable "data". Possibly large array.


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:50:41 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Mist by Ohno! - part2
« Reply #4 on: February 01, 2019, 02:52:55 PM »
Demo Mist by Ohno! - part2 ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-mist-by-ohno.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce GTX 1080 + driver 417.71):
- 800x480 => 450 FPS 
- 2560x1440 => 56 FPS 


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:50:30 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Sonic Fusion
« Reply #5 on: February 01, 2019, 02:55:57 PM »
Demo Sonic Fusion ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-sonic-fusion.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce GTX 1080 + driver 417.71):
- 800x480 => 4300 FPS 
- 2560x1440 => 820 FPS 


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:50:19 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - bubble rings
« Reply #6 on: February 01, 2019, 02:58:07 PM »
Demo Bubble rings ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-bubble-rings.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce GTX 1080 + driver 417.71):
- 800x480 => 2500 FPS 
- 2560x1440 => 495 FPS 


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:50:08 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Moon voxels
« Reply #7 on: February 26, 2019, 06:11:51 PM »
Demo Moon voxels ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-multipass/gl32-moon-voxels/demo.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce GTX 1080 + driver 419.17):
- 800x480 => 103 FPS 
- 2560x1440 => 13 FPS 


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:49:56 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - abstract_mod
« Reply #8 on: March 13, 2019, 12:13:07 PM »
Demo abstract_mod ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-abstract_mod.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce GTX 1080 + driver 419.35):
- 800x480 => 1453 FPS 
- 2560x1440 => 219 FPS 


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:49:46 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Round Voronoi border (two demos)
« Reply #9 on: March 13, 2019, 02:29:26 PM »
Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads



1 - Demo Round Voronoi Border Refinement ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-round-voronoi-border-refinement.xml

Rendering speed (GeForce GTX 1080 + driver 419.35):
- 800x480: 2440 fps
- 2560x1440: 425 fps

Shadertoy demo ported to GeeXLab




2 - Demo Round Voronoi Border : Fork ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-round-voronoi-border-refinement.xml

Rendering speed (GeForce GTX 1080 + driver 419.35):
- 800x480: 2340 fps
- 2560x1440: 396 fps

Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:49:35 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - rounding the square
« Reply #10 on: March 15, 2019, 09:25:02 AM »
Demo Rounding the Square ported to GeeXLab.

Based on this paper: Analytical Methods for Squaring the Disc

Location in the demopack: gl-32-shadertoy-01/gl32-rounding-the-square.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Shadertoy demo ported to GeeXLab

Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:49:21 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - outrun the rain
« Reply #11 on: April 25, 2019, 08:06:02 PM »
Demo Outrun The Rain ported to GeeXLab.


Location in the demopack: gl-32-shadertoy-multipass/gl32-outrun-the-rain/demo.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce RTX 2070 + driver 425.42):
- 800x480: 425 fps


Shadertoy demo ported to GeeXLab


« Last Edit: October 04, 2019, 11:49:05 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Colored lines
« Reply #12 on: April 25, 2019, 08:09:17 PM »
Demo Colored lines ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-multipass/gl32-colored-lines/main.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce RTX 2070 + driver 425.42):
- 800x480: 280 fps


Shadertoy demo ported to GeeXLab



« Last Edit: October 04, 2019, 11:48:51 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Raymarching Primitives
« Reply #13 on: April 25, 2019, 08:16:29 PM »
Demo Raymarching Primitives ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-raymarching-primitives.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Shadertoy demo ported to GeeXLab

« Last Edit: October 04, 2019, 11:48:40 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Tunnels, Corridors and Tubes demos
« Reply #14 on: April 25, 2019, 08:43:10 PM »
Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads



Demo Industrial Tunnel
Location in the demopack: gl-32-shadertoy-01/gl32-industrial-tunnel.xml

Shadertoy demo ported to GeeXLab





Demo Abstract Water Tunnel
Location in the demopack: gl-32-shadertoy-01/gl32-industrial-tunnel.xml

Shadertoy demo ported to GeeXLab





Demo Random Block Passage
Location in the demopack: gl-32-shadertoy-01/gl32-random-block-passage.xml

Shadertoy demo ported to GeeXLab






Demo Traced Minkowski Tube
Location in the demopack: gl-32-shadertoy-01/gl32-traced-minkowski-tube.xml

Shadertoy demo ported to GeeXLab





Demo Panelled Tube
Location in the demopack: gl-32-shadertoy-01/gl32-panelled-tube.xml

Shadertoy demo ported to GeeXLab






Demo Abstract Corridor
Location in the demopack: gl-32-shadertoy-01/gl32-abstract-corridor.xml

Shadertoy demo ported to GeeXLab






Demo Abstract Island Cavern
Location in the demopack: gl-32-shadertoy-01/gl32-abstract-island-cavern.xml

Shadertoy demo ported to GeeXLab







Demo Underground Passageway
Location in the demopack: gl-32-shadertoy-multipass/gl32-underground-passageway/demo.xml

Shadertoy demo ported to GeeXLab








Demo LatticeWithFolding
Location in the demopack: gl-32-shadertoy-01/gl32-lattice-with-folding.xml

Shadertoy demo ported to GeeXLab







« Last Edit: October 04, 2019, 11:48:26 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Penrose Pathtraced
« Reply #15 on: April 25, 2019, 08:49:10 PM »
Demo Penrose Pathtraced ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-multipass/gl32-penrose-pathtraced/demo.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce RTX 2070 + driver 425.42):
- 800x480: 610 fps

Tip: mouse left button + move to discover the trick.


Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:48:06 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - Warp Tunnel
« Reply #16 on: May 07, 2019, 08:49:36 AM »
Demo Warp Tunnel ported to GeeXLab.

Location in the demopack: gl-32-shadertoy-01/gl32-warp-tunnel.xml

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Rendering speed (GeForce RTX 2070 + driver 430.53):
- 800x480: 1100 FPS
- 2560x1440: 150 FPS

Shadertoy demo ported to GeeXLab
« Last Edit: October 04, 2019, 11:47:55 AM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack - v2019.10-04
« Reply #17 on: October 04, 2019, 11:47:32 AM »
The shadertoy demopack has been updated.

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


Some new demos:


- Demo: gl-32-shadertoy-02/planet-fall/
- shadertoy link.
Shadertoy demo ported to GeeXLab



- Demo: gl-32-shadertoy-02/happy-jumping/
- shadertoy link.
Shadertoy demo ported to GeeXLab


- Demo: gl-32-shadertoy-02/protean-clouds/
- shadertoy link.
Shadertoy demo ported to GeeXLab



- Demo: gl-32-shadertoy-multipass/gl32-then-and-before-pc4k-altair/
- shadertoy link.
Shadertoy demo ported to GeeXLab



- Demo: gl-32-shadertoy-02/sphere-gears/
- shadertoy link.
Shadertoy demo ported to GeeXLab


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack v2019.10-21
« Reply #18 on: October 21, 2019, 02:25:58 PM »
The shadertoy demopack has been updated.

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


New demos:

- shadertoy demo: Organic Dodecahedron.
- in demopack: gl-32-shadertoy-multipass/gl32-organic-dodecahedron/
Shadertoy demo ported to GeeXLab



- shadertoy demo: Voodoo.
- in demopack: gl-32-shadertoy-02/voodoo/
Shadertoy demo ported to GeeXLab



- shadertoy demo: ShaderTober - Sling.
- in demopack: gl-32-shadertoy-02/shadertober-sling/
Shadertoy demo ported to GeeXLab



- shadertoy demo: Rounded Box Parametrization.
- in demopack: gl-32-shadertoy-02/rounded-box-parametrization/
Shadertoy demo ported to GeeXLab



- shadertoy demo: Faux Layered Extrusion.
- in demopack: gl-32-shadertoy-02/faux-layered-extrusion/
Shadertoy demo ported to GeeXLab



- shadertoy demo: Noise - Basic - 1D.
- in demopack: gl-32-shadertoy-02/noise-basic-1d/
Shadertoy demo ported to GeeXLab



- shadertoy demo: Futuristic 3D circle.
- in demopack: gl-32-shadertoy-multipass/gl32-futuristic-3d-circle/
Shadertoy demo ported to GeeXLab



- shadertoy demo: Ethics Gradient.
- in demopack: gl-32-shadertoy-multipass/gl32-ethics-gradient/
Shadertoy demo ported to GeeXLab

« Last Edit: October 21, 2019, 02:33:46 PM by JeGX »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2212
    • Geeks3D.com
Shadertoy Demopack v2019.12-06
« Reply #19 on: December 06, 2019, 04:45:46 PM »
The shadertoy demopack has been updated.

Downloads:
- Shadertoy demopack for GeeXLab
- GeeXLab downloads


New demos:

- shadertoy demo: Multiscale mip fluid
- in demopack: gl-32-shadertoy-multipass/gl32-multiscale-mip-fluid/
Shadertoy demo ported to GeeXLab


- shadertoy demo: Wait what cybertruck
- in demopack: gl-32-shadertoy-02/wait-what-cybertruck/
Shadertoy demo ported to GeeXLab


- shadertoy demo: Planetary gears
- in demopack: gl-32-shadertoy-02/planetary-gears/
Shadertoy demo ported to GeeXLab


- shadertoy demo: Temple of the star
- in demopack: gl-32-shadertoy-multipass/gl32-temple-of-the-star/
Shadertoy demo ported to GeeXLab