/Shadertoy2Processing

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

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