Shaders by Sonic Walker

← All shaders

Cubic Tunnel

A raymarched tunnel of cubic cells flying toward the viewer. Each cell face gets a unique procedural color, and the tunnel path curves through space with controllable intensity and rotation.

Parameters

Parameter Label Default Range Description
rotSpeed Rotation Speed 0.5 0–1 Speed and direction of camera roll rotation.
cubeSize Cube Size 0.5 0–1 Scale of the cubic grid cells.
tunnelSize Tunnel Size 0.5 0–1 Radius of the tunnel passage.
curveIntensity Curve Intensity 0.4 0–1 How sharply the tunnel path curves through space.

Downloads

License

The shader source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You can share and adapt the code for non-commercial purposes, as long as you credit the author and distribute contributions under the same license. Commercial redistribution of the source code requires permission.

Using the Output

The visual output produced by running these shaders is yours to use. VJ at a party, use it in a music video, project it at a festival — go for it. If you're making money from it, consider supporting my music at Mirlo, Subvert or Bandcamp.