VECTEUR·A Pricing
Shadertoy and ISF

Your Shadertoy and ISF shaders, hooked up to the music.

Shadertoy and ISF are the two main formats for shaders shared on the web. VECTEUR·A reads both: paste the code, the app converts it, tells you what it does with the sound, and makes it breathe with the music, even if it was written without any.

Two formats

One idea, two ways of writing it.

Shadertoy

The best-known shader sharing site, created in 2013 by Iñigo Quilez and Pol Jeremias. You write a shader in the browser and publish it: a huge gallery, from the simplest examples to the most spectacular.

ISF

Interactive Shader Format, created by VIDVOX, the maker of the VJ software VDMX, and released under the MIT licence. An ISF shader begins with a small JSON block that declares its settings: the software that reads it turns them into sliders. It can create an image as well as filter a video.

The differences

Point by point.

ShadertoyISF
Main functionmainImage(out vec4 fragColor, in vec2 fragCoord)main() writing gl_FragColor
SettingsNumbers written in the code: you change them by editing the code.Declared in the header, under INPUTS : each one becomes a slider.
Time and sizeiTime, iResolution, iMouse, iFrameTIME, RENDERSIZE, FRAMEINDEX
Images and soundFour inputs iChannel0…iChannel3, connected in the site's interface, outside the code. Music arrives as a 512 × 2 pixel image: spectrum and waveform.Inputs image, audio and audioFFT declared in the header.
Several passesBuffer A to D tabs.PASSES and PERSISTENT_BUFFERS in the header.
Create or filterMostly generators: the shader creates the image.Both: a shader that declares inputImage filters the image it is given.
LicenceCC BY-NC-SA 3.0 by default, unless the author says otherwise: no commercial use.The author's choice, often written in the header.
The import

Paste the code, the app does the rest.

From Shadertoy

  • mainImage is wrapped, not rewritten: a few lines at the top translate Shadertoy's inputs, and stay visible in the editor.
  • iChannel0 : you tell the importer whether it receives the image loaded in the app (photo, video, camera) or the sound, in Shadertoy's format.
  • iChannel1 and iChannel2 receive the spectrum and the waveform of the sound.
  • iChannelTime follows the position of the track being played.
  • Declarations copied from Shadertoy's cheat sheet are commented out instead of breaking the compilation.
  • You are asked for the author, the licence and the page address: they stay in the shader's header.

From ISF

  • The ISF header is already VECTEUR·A's format: the shader compiles almost as it is.
  • Every entry of INPUTS becomes a slider, set with the mouse or by MIDI.
  • The audio and audioFFT inputs receive the waveform and the spectrum of the sound.
  • A shader that declares inputImage becomes a filter, usable on any mode.
  • Other images receive the image loaded in the app: photo, video or camera.
The sound

Even a shader written without music starts to breathe.

Most gallery shaders only know the passing of time. At import, you choose the clock that drives it: the normal clock, or a clock that follows the music. The shader is not changed, yet it speeds up on the kick and slows down in the quiet parts.

  • An import report says what the shader reads from the sound, or that it reads nothing.
  • Time can move at the pace of the level, the bass, the mids or the treble: you choose at import, and can change it later.
  • To go further, the code can read the sound directly: BASS MID TREB LEVEL BEAT BPM SPECTRUM WAVE.
The limits

What does not work yet, said plainly.

  • Multi-pass shaders (Buffer A to D on Shadertoy, PASSES in ISF): they keep the previous frame in memory, which the app does not do yet. The importer says so instead of showing a black screen.
  • Shadertoy's sound and virtual reality shaders.
  • Reading the keyboard through an iChannel: flagged at import, without effect.
  • ISF files that embed their own images: only one image is available, the one loaded in the app.
Rights

Read this before publishing.

A shader remains its author's work. On Shadertoy, unless stated otherwise, it is under the CC BY-NC-SA 3.0 licence: you may play and modify it while crediting the author, but not for commercial use. Before publishing a monetised video or performing for a client, check the shader's licence. VECTEUR·A keeps the author and the licence in the header of every imported shader.

In practice

By edition, and to go further.

By edition

  • Free version : paste, convert, play, modify. Nothing is kept when you close.
  • CORE : imported shaders stay in your library.
  • LIVE : import of .fs files, and automation of every shader's settings.
Try it

Free, with no time limit.

Every mode and every effect. You buy when you want to keep your work, export without a watermark or play on stage.