GLSL Shader parameter extraction
GLSL Shader parameter extraction
Hi everyone, I just started using Magic. Possibility to use the GLSL shaders is amazing. I am wondering is it possible to extract some variables from the shared code into Magic. SO it will provide ability to adjust the visuals in live performances. I am envisioning it like publishing some variable in the patch input so I will be able connect some output to manipulate how visual will be rendered. I know by default GLSLShader patch has some initial params like X,Y, Z etx. But from mu perspective it very limited and not really provide flexibility to manipulate some custom things.
Re: GLSL Shader parameter extraction
Magic supports the ISF format, which has the features you're looking for .
Here's the web site: https://www.interactiveshaderformat.com/
And here's the section in the Magic user's guide: https://magicmusicvisuals.com/downloads ... e.html#ISF
You can also search these forums for "ISF" -- there are a lot of helpful posts.
Here's the web site: https://www.interactiveshaderformat.com/
And here's the section in the Magic user's guide: https://magicmusicvisuals.com/downloads ... e.html#ISF
You can also search these forums for "ISF" -- there are a lot of helpful posts.
Re: GLSL Shader parameter extraction
Thanks, finally understood. I can convert any GLSL effect to ISF by adding a little amount of code at the beginning, basically that does exactly that I want. Looks like I have asked very stupid question Because ISF doest exactly what I am asking, it provides ability to manipulate parameters of GLSL.