Closed iandeboisblanc closed 8 years ago
Fixed. Issue can be avoided by reordering the properties on the image tags used to load the assets ...not sure why.
WRONG:
<img src=url crossOrigin='anonymous' />
RIGHT:
<img crossOrigin='anonymous' src=url />
Seems to occur when you return to the same page for a second time--either by navigating away and back or by exiting and re-entering 3D. Related to: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL#Cross-domain_textures