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