converting an awesome shadertoy

Tue Sep 17, 2019 9:15 pm

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.
triune
 
Posts: 9
Joined: Mon Mar 12, 2018 9:04 pm

Re: converting an awesome shadertoy

Wed Sep 18, 2019 11:13 am

It is very slow (9fps here) but runs fine. Delete "uniform" from the first comment.
Sadler
 
Posts: 632
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: converting an awesome shadertoy

Wed Sep 18, 2019 8:51 pm

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.
triune
 
Posts: 9
Joined: Mon Mar 12, 2018 9:04 pm

Return to General Discussion

© 2019 Color & Music, LLC • This web site is mobile-friendly