Converts shaders from different formats to or from touchdesigner format
From Shadertoy to Touchdesigner
From Shadertoy to Touchdesigner to Raspberry Pi 4 (using pi3D)
How to use: Simply paste the code into one of the op called "paste_shadertoy_here". Make sure to connect it to the op called "SHADERTOY_to_TD".
Click the "Make TD Shader" button.
Click the "Make Pi Shader" button.
If you have issues read the HOW TO operators and check the Textport before submitting an issue on Github.
Make sure your program [ O|I ] button is set to ON and is playing (not paused).
Made into a simple tox for fast convenience. No API key needed.
For running shaders on Raspberry pi4:
Download this repo: https://github.com/louiselessel/Shaders-on-raspberry-pi4
Then paste generated shader code from the op called "Pi4 shadercode" into the file called "nameofshader.fs". Follow additional directions described in the repo.
YOU CANNOT USE A SHADER COMMERCIALLY WITHOUT PERMISSION FROM THE AUTHOR
If you wish to use a Shadertoy shader in a commercial environment, you must contact the original author of the shader and obtain permission. The shadertoyConverter component has a button to Open Site which will open the shader on the Shadertoy website where you will find the author's contact information. Usually the author will include the license information as a comment in the shader's code.
For the 3 shaders included, there is a link to the original. Please visit the link to check with the authors.
See also this project by Mathew Watchter that allows you to use the Shadertoy API to view and browse shaders https://github.com/matthewwachter/td-shadertoy