News for hackers. Stuff that matters.
Re:glsl.js - abusing WebGL shaders for efficient 2D by kevingadd on Monday February 18, 2013 @11:42AM (#5239093)
You shouldn't be using innerHTML to get your shader text, it'll break as soon as you put a comparison operator into the shader. Use textContent.

You should support using typed arrays instead of raw JS objects ({ x: , y: }) for setting vectors, since that will give people the option of using something like glMatrix.

Re:glsl.js - abusing WebGL shaders for efficient 2D by gren on Monday February 18, 2013 @11:54AM (#5239161)
Woo, thanks a lot for your feedback :)

I'll fix that ASAP.

[EDIT] all of the issues are now on github: https://github.com/gre/glsl.js/issues

Re:glsl.js - abusing WebGL shaders for efficient 2D by erichocean on Monday February 18, 2013 @05:34PM (#5241214)
+1 on typed arrays. Anything that supports WebGL should also support them.