lustro
lustro copied to clipboard
A reactive, declarative, immediate mode WebGL UI framework
We should support texture atlassing, where we draw sprites from an atlas by modifying the U,V buffer for each different sprite. TODO: - [x] Blit loaded images to atlas automatically...
Do simple bounds checking to avoid drawing anything that's not in the viewport.
Static geometry should share the same vertex buffer and be rendered with 1 draw call. Possibly we will flag geometry as "static" by it not having an Animator component.
e.g. browserify