Update texture after all images loaded?
Opened this issue · 2 comments
eng1neer commented
I'm using a texture with some images embedded. The texture is static but on the first render it doesn't have all images correctly rendered - some are still loading. Would be great to get automatic updates when all images loaded.
weddingdj commented
It would be great to be able to run render() again.
weddingdj commented
The following code worked for me to update the material once:
var titles = document.querySelectorAll('.title');
for (var k = 0; k < titles.length; k++) {
titles[k].components.material.shader.__render();
}