brianchirls / Seriously.js

A real-time, node-based video effects compositor for the web built with HTML5, Javascript and WebGL
MIT License
3.88k stars 354 forks source link

MS Edge shader formatting error #99

Open johanbelin opened 9 years ago

johanbelin commented 9 years ago

The example on seriouslyjs.org does not work in Microsoft Edge. Gives the following error:

SCRIPT5022: Shader error: Shader compilation errors (36, 67): Expected macro argument list (37, 1): Expected macro argument list (37, 2): Expected macro argument list (37, 3): Expected macro argument list (37, 4): Expected macro argument list (37, 5): Expected macro argument list (37, 6): Expected macro argument list (37, 7): Expected macro argument list (37, 8): Expected macro argument list (37, 9): Expected macro argument list (37, 10): Expected macro argument list (37, 11): Expected macro argument list (37, 12): Expected macro argument list (37, 13): Expected macro argument list (37, 14): Expected macro argument list (37, 15): Expected macro argument list (37, 16): Expected macro argument list (37, 17): Expected macro argument list (37, 18): Expected macro argument list (37, 19): Expected macro argument list (37, 20): Expected macro argument list (37, 34): syntax error, unexpected LEFT_PAREN

brianchirls commented 9 years ago

seriouslyjs.org is long overdue for a total re-write. It was using a very old version of seriously.js, but I just upgraded it. There have been some IE-specific fixes in the last year or so, which may make a difference.

Can you try it again now and see if it's any better?