ISF conversion to GLSL?
-
- Posts: 109
- Joined: Tue Jun 23, 2015 7:42 pm
ISF conversion to GLSL?
Would it be possible to convert an ISF effect to GLSL? I would love to use some of my ISF collection in TouchDesigner, but currently it looks like Touch only supports GLSL
Re: ISF conversion to GLSL?
ISF is GLSL. But it also has a JSON header (JavaScript Object Notation) which describes how the GLSL works. In order to reduce ISF to pure GLSL, you'd have to replace all the code that is controlled by the header. It would require some programming knowledge.
Then, once you have pure GLSL, you'd have to figure out how to get it to work in TouchDesigner. I have no idea about that
Then, once you have pure GLSL, you'd have to figure out how to get it to work in TouchDesigner. I have no idea about that
-
- Posts: 109
- Joined: Tue Jun 23, 2015 7:42 pm
Re: ISF conversion to GLSL?
Thanks for that explaination! I'm pretty sure that TouchDesigner has native GLSL support, I dont really know and havent really messed with the GLSL in it that much because I use ISF effects far more then GLSL shaders. But thanks I'm going to look into this more.. The coding language that I would need to know about in this case is OpenGL right?
Re: ISF conversion to GLSL?
GLSL itself is the language. It stands for Graphics Library Shading Language
Re: ISF conversion to GLSL?
ISF is pretty easy to pick up. Essentially, what you are going to want to do is remove the JSON header and for every variable referenced there, manually set a value in the GLSL code.
I was able to pick up enough knowledge from scratch in only a few days to make fairly substantial edits, and this should be straightforward.
One thing to keep in mind is that a lot of ISF shaders begin their life on http://Shadertoy.com, or similar sites. Check the source code because the original shaders may be referenced there, and it will be easier for you to get them from the original source, ready to go.
Cheers!
I was able to pick up enough knowledge from scratch in only a few days to make fairly substantial edits, and this should be straightforward.
One thing to keep in mind is that a lot of ISF shaders begin their life on http://Shadertoy.com, or similar sites. Check the source code because the original shaders may be referenced there, and it will be easier for you to get them from the original source, ready to go.
Cheers!