Previous topicNext topic

converting an awesome shadertoy

Questions, comments, feedback, etc.
Post Reply
TEHK
Posts: 56
Joined: Mon Mar 12, 2018 9:04 pm

converting an awesome shadertoy

Post 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.
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: converting an awesome shadertoy

Post by Sadler »

It is very slow (9fps here) but runs fine. Delete "uniform" from the first comment.
TEHK
Posts: 56
Joined: Mon Mar 12, 2018 9:04 pm

Re: converting an awesome shadertoy

Post 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.
Post Reply