I just started looking into the good stuff Three.js has to offer.
Now while trying to render a sphere with a texture I run into a problem.
I created a photosphere image and tried to load it onto a sphere.
I am using the WebGL renderer build into Three.js (got the latest zip from GIThub).
Two things are puzzeling me:
The only sign of something going wrong in Chrome I get is this warning:
WebGL: INVALID_VALUE: texImage2D: width or height out of range
My script is completely based on the example of @kennydude. I traced the error all the way back into the Three.js file r. 55 on line 25330. That is as far as I can get.
To get webGL running in Chrome I disabled the blacklist (my GPU appeared on that list).
Any ideas? Any help would be highly appreciated.
Try resizing the image to a power of two size like 4096x1024.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With