Re:glsl.js - abusing WebGL shaders for efficient 2D
by Skoofoo on Monday February 18, 2013 @01:19PM
(#5239640)
I enjoyed the Pong demo, it's pretty inspirational. The Mario sprites demo appears to be broken, though.
[ Parent
| on HN ]
Re:glsl.js - abusing WebGL shaders for efficient 2D
by gren on Monday February 18, 2013 @01:56PM
(#5239894)
Thanks.
Yep, about the mario sprites example, there is something I'm missing happening https://github.com/gre/glsl.js/issues/2
It works for me (tested on MacbookPro and on a Linux with recent hardware)
I have to figure it out.
[edit] It is fixed now! sampler2D in a struct{} seems broken on some WebGL version / graphic card.