CreativeCoding

Import shaders from shadertoy to TouchDesigner

Using shadertoy2td, you can import shaders from shadertoy as TouchDesigner networks. This example shows how to do so with a dithering shader.

Dithering is a technique which was used to convert higher bit depth images to lower bit depth images, i.e. 8 bit (256) color to 1 bit (black and white). It was used for early computer systems to save space. This dither relies on a lookup dither image (rather than hardcoding the constants in code), which comes from here.

A picture of oil drums, dithered. Dithering is a technique which was used to convert higher bit depth images to lower bit depth images, i.e. 8 bit (256) color to 1 bit (black and white). It was used for early computer systems to save space.

Download this example Download all examples as .zip