How to load basis texture? #1661
-
I wanna load basis texture but its throwing an error saying 'Uncaught SyntaxError: Unexpected identifier'. Here is https://codesandbox.io/s/basis-texture-issue-pz1g1?file=/src/App.js, I have tried both native three js loader approach and useLoader approach. but nothing seems to work, what I am doing wrong |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Paul provided a sandbox here I was having the same issue, all came down to file paths essentially. Incorrect file paths were instead returning HTML files so your unexpected identifier was the first character of . Link to discourse thread where I found the answer |
Beta Was this translation helpful? Give feedback.
Paul provided a sandbox here
I was having the same issue, all came down to file paths essentially. Incorrect file paths were instead returning HTML files so your unexpected identifier was the first character of .
Link to discourse thread where I found the answer