Shaders by Sonic Walker

← All shaders

Reactive Voxel Tunnel

Audio-reactive first-person flight through a raymarched voxel tunnel driven by FFT frequency bands. Bass pulses the octahedron voxel size, mids breathe the tunnel width and weave, and highs add shimmer to the glow trails, with a cool-to-warm colour shift palette.

Adapted from “Voxel tunnel” by lsdlive.

Parameters

Parameter Label Default Range Description
octahedronSize Octahedron Size 0.68 0.2–1.8 Size of the octahedron voxels forming the tunnel.
density Tunnel Width 3.6 2–6 Width of the tunnel.
fog Fog 0.0001 0.0001–0.001 Fog density, fading distant tunnel walls.
glow Glow 0.0053 0.005–0.025 Volumetric glow intensity around voxel edges.
pathAmount Weave 0.4 0–2 Amplitude of the tunnel’s S-curve path.
colorShift Color Shift 0.0 0–1 Blends between the cool blue palette and a warm alternate palette.

Downloads

This shader relies on VS2’s built-in FFT texture and cannot be converted to ISF.

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.