Shadertoy2Processing icon indicating copy to clipboard operation
Shadertoy2Processing copied to clipboard

Get GLSL code from Shadertoy.com to run inside of Processing

Shadertoy2Processing

Get GLSL code from Shadertoy.com to run inside of Processing

screenshot

How to import a shader

Copy the code from Shadertoy shader and paste it...

// ------------------------------
// SHADERTOY CODE BEGINS HERE -
// ------------------------------

👉🏻 Here

// ----------------------------
// SHADERTOY CODE ENDS HERE -
// ----------------------------

To Do

  • Keyboard input
  • Sound input
  • cubemap example
  • Support multipass shaders

References

  • Input - Keyboard : https://www.shadertoy.com/view/lsXGzf
  • Input - Microphone : https://www.shadertoy.com/view/llSGDh
  • Input - Mouse : https://www.shadertoy.com/view/Mss3zH
  • Input - Sound : https://www.shadertoy.com/view/Xds3Rr
  • Input - SoundCloud : https://www.shadertoy.com/view/MsdGzn
  • Input - Time : https://www.shadertoy.com/view/lsXGz8
  • Input - TimeDelta : https://www.shadertoy.com/view/lsKGWV
  • Input - 3D Texture : https://www.shadertoy.com/view/4llcR4

Other Shadertoy ports

ShadersForProcessing3 by George Rowe

The Shadertoy ports inside of Thomas Diewald's PixelFlow library.

Filters4Processing by... me?

PShaderToy by Nick Fox-Gieg