-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about texture #13
Comments
Did you include |
hello,Ovilia,thanks for your reply.I tried to include lib/MTLLoader.js as you said,but it didn't work as well,by the way,I use the 85 version of three.js.It reminded me of 'DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Tainted canvases may not be loaded.' |
I saw that lib/MTLLoader.js is not included in your examples https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.5.1.html |
actually,i use the same code with yours,maybe there are some changes in the 85 version of three.js. |
Hello,Ovilia,actually,your document is very useful,for beginner at least.as you said in your document,there are some parts whitch are different from the newest three.js.for example,when I use 'THREE.ImageUtils.loadTexture',it doesn't work,it reminds me to use 'THREE.TextureLoader' instead,however when I use 'THREE.TextureLoader' ,it reminds me that THREE.Material: 'map' parameter is undefined. I checked out in the three.js file,I don't understand the source code.Therefore ,I want to know if there is some way that could avoid the situation like this.
The text was updated successfully, but these errors were encountered: