You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an issue but rather a feature request - currently the component loads the texture every time when <a-sprite> is processed, right? I made a workaround to reuse same textures:
And perhaps a better way is to use <a-assets><img> as a source. A friend of mine showed me an example to load <img> into three.js texture (this uses data URL but you can think of reading from static <img> - this example might suppress multiple http requests but still creates multiple textures, I guess) : https://codepen.io/fand/pen/LYpJMqW
The text was updated successfully, but these errors were encountered:
It's great to see you are using this package. I moved away from doing VR devlopment quite some time ago so this repository is quite neglected, i fear.
Would you probably like to collaborate on this project? It's not big, not much code at all, and i would really like if somebody who is actually using it is involved. I'd basically give you free decision on where to go with this, but also would support if it's helpful.
This is not an issue but rather a feature request - currently the component loads the texture every time when
<a-sprite>
is processed, right? I made a workaround to reuse same textures:And perhaps a better way is to use
<a-assets><img>
as a source. A friend of mine showed me an example to load<img>
into three.js texture (this uses data URL but you can think of reading from static<img>
- this example might suppress multiple http requests but still creates multiple textures, I guess) :https://codepen.io/fand/pen/LYpJMqW
The text was updated successfully, but these errors were encountered: