hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 116 forks source link

Fixing WebGL #160

Open arnuschky opened 11 years ago

arnuschky commented 11 years ago

Initialize proper context in case of webgl throughout caat. Fixes the following errors: WebGL: INVALID_VALUE: vertexAttribPointer: bad size, stride or offset WebGL: INVALID_OPERATION: uniformMatrix4fv: location is not from current program

This is work in progress and still has some issues. It is still unclear how dynamically rendered textures via a 2d canvas can be included in webgl.

arnuschky commented 11 years ago

Related to https://github.com/hyperandroid/CAAT/issues/101