Open hughsk opened 9 years ago
I've got a first draft of this here: github/npm.
It's based heavily on gl-texture2d. So heavily, in fact, that I'm not sure we'll want to keep them separate going forward - there's a lot of duplicated code. Up to you guys!
It's very bare-bones right now - all it does is create cube textures from DOM elements, not empty ones or from ndarrays. I'll probably add stuff as I need it or you guys ask me to. :)
This looks great so far! I'm leaning more to keeping it separate for simplicity's sake, but that's more @mikolalysenko's area :)
p.s. I've been meaning to ask, would you like us to add you to the stackgl org on github/npm? :D
Thanks! I'm in agreement regarding keeping it separate. Maybe there's a clean way to separate the shared stuff into a gl-texture
package.
As far as making me official goes... That. Would. Be. AWESOME! :D
Sweet! You've been doing great stuff lately :grin: I'll do that now :)
:tada: :tada: :tada: :tada: :smile:
Likely tricky as gl-texture2d has to cover a lot of ground, but this would be super useful for enabling skyboxes (#4) and reflection/refraction among other things :)