ISF stands for "Interactive Shader Format", and is a file format that describes a GLSL fragment shader, as well as how to execute and interact with it. The goal of this file format is to provide a simple and minimal interface for image filters and generative video sources that allows them to be interacted with and reused in a generic and modular fashion. ISF is nothing more than a [slightly modified] GLSL fragment shader with a JSON blob at the beginning that describes how to interact with the shader (how many inputs/uniform variables it has, what their names are, what kind of inputs/variables they are, that sort of thing). ISF isn't some crazy new groundbreaking technology- it's just a simple and useful combination of two things that have been around for a while to make a minimal- but highly effective- filter format.

Using ISF Compositions

Shaders written in the ISF specification can be used in supported environments on desktop, mobile and the web. To use ISF files in a specific piece of software consult the appropriate documentation.

  • In many cases, ISF generator files can be directly loaded into the media bin / media player section of host software.
  • ISF files that you would like to be globally available to all software on your Mac can be placed in the "/Library/Graphics/ISF" or "~/Library/Graphics/ISF" directories. Generators, filters and transitions in these directories should generally be automatically available within supported software where applicable.

Supported playback software

The ISF specification was original created for VDMX and is now supported by several different applications as a format including:

Creating and Remixing ISF Compositions

Whether you are a GLSL expert or just getting started, there are several resources and specialized tools that can be useful when writing or remixing ISF compositions.

Online resources

  • The ISF Quick Start is a guide to quickly get started with writing GLSL shaders in the ISF specification. A good starting point for people who already know how to code and are just looking to understand the core concepts of ISF.
  • The ISF Reference Pages contain an overview of the available built-in variables, functions and other conventions used by ISF as a quick reference for shader developers.
  • The ISF Primer is a set of in depth lessons with walkthroughs for writing your first GLSL shaders and discussion of advanced usages of the ISF specification.
  • The ISF Specification Page contains detailed information about ISF for shader and application developers, along with links to source code repositories and other useful resources.

Software tools and sample files

Though you can create or modify ISF compositions using any standard text editor it can often be useful be able to have a specialized interface that makes it easier to see your output and debug your code.

The ISF Web Editor

  • ISF files can be created, viewed and shared online at the isf.video website. These are some of its basic features:
    • Browse, preview and download shaders from the online community.
    • Use a web-cam, static images, or uploaded GIFs as sources for image filters.
    • UI items are automatically created for inputs, allowing you to interact with your ISF file.

The ISF Editor For Mac

  • An ISF Editor for Mac is available here: ISF Editor.app.zip. These are some of its basic features:
    • Browses, renders and displays ISF files. Has a built-in video source, and can also use any QC comps, movie files, image files, Syphon video servers, or AVCapture-compatible video inputs as a video source for testing ISF-based image filters.
    • Automatically publishes the rendered output as a Syphon source.
    • UI items are automatically created for inputs, allowing you to interact with your ISF file.
    • Built-in shader editor with syntax coloring and integrated error display along with plenty of logging to facilitate creating and debugging shaders.
    • Output window can be paused, and can also be used to view the output of the individual render passes in your ISF file, which facilitates debugging by providing shader devs with a quick and easy way to visualize values being used in their shaders.
    • "Import from Shadertoy/GLSL Sandbox" feature can be used to automatically convert the vast majority of shaders found on Shadertoy and GLSL Sandbox to ISF sources and filters. Some shaders may need further modification, but it's shocking how many will "just work".

Sample Files

  • Here are a bunch of simple test ISF files that demonstrate ISF's basic features (these are test filters, and we don't expect them to have signifcant creative use): ISF Test/Tutorial filters
  • The ISF Files repository on GitHub includes over a hundred different ISF files, both images and filters. This is the standard set published by VIDVOX and included with VDMX. They should be placed in /Library/Graphics/ISF where they can be accessed by all users.

Adding Support For ISF in 3rd Party Software

The ISF Specification Page contains detailed information about ISF application developers, along with links to source code repositories and other useful resources to get started with.

Objective-C

The original ISF Editor and VVISFKit framework codebases written in Objective-c for Mac are open source and can be found in the VVOpenSource repository.

C++

The VVISF-GL repository contains crossplatform (Mac and Windows) libraries for parsing and rendering ISF files in OpenGL. It also contains Mac and Windows versions of the ISF Editor written in Qt.

Javascript

The ISF-JS-Renderer can be used to parse and render ISF files through javascript.

Other resources

Additionally here are a few other useful open source projects that use ISF to check out:

  • libisf is a library for parsing ISF files and includes an example editor made with Qt.
  • ISF TouchDesigner has partial support for using ISF files in TouchDesigner projects.
  • ofxISF has partial support for using ISF files in OpenFrameworks projects.
  • ISFHeavyM and ISFgif can be used to create a ISF shared library with GIF preview for HeavyM.