davedx / lustro

A reactive, declarative, immediate mode WebGL UI framework
MIT License
30 stars 1 forks source link

Implement texture atlassing #10

Open davedx opened 9 years ago

davedx commented 9 years ago

We should support texture atlassing, where we draw sprites from an atlas by modifying the U,V buffer for each different sprite.

TODO:

davedx commented 9 years ago

In progress now. Used texSubImage2D to blit dynamically loaded image assets into one texture atlas...

davedx commented 9 years ago

Still not as fast as pixi, but it's working!