Page 1 of 1

converting an awesome shadertoy

Posted: Tue Sep 17, 2019 9:15 pm
by TEHK
I'm new to GLSL, so I don't really even know where to get started on importing a shader like this into Magic :
https://www.shadertoy.com/view/3l23Rh
Simply taking the shadertoy into a text file and loading it in Magic is guaranteed to crash the app entirely.
Any help would be much appreciated.

Re: converting an awesome shadertoy

Posted: Wed Sep 18, 2019 11:13 am
by Sadler
It is very slow (9fps here) but runs fine. Delete "uniform" from the first comment.

Re: converting an awesome shadertoy

Posted: Wed Sep 18, 2019 8:51 pm
by TEHK
Thank you !!!

I guess comments in shaders are interpreted literally by Magic which is kinda weird.
Also, uniform must be a semantic keyword / reserved word?

I really need to get beyond level one in GLSL so I can hack together effects more easily.