Replies: 4 comments
-
You've used the useLoader hook incorrectly. You don't need to pass it an imported image you pass it a url. |
Beta Was this translation helpful? Give feedback.
-
Do you mean like this? const texture = useLoader( but isn't this the same thing? I read the document 5 times now and still don't understand it. |
Beta Was this translation helpful? Give feedback.
-
The imported image gets converted to an absolute URL by As for the behavior here, does this issue persist on r133 or earlier? |
Beta Was this translation helpful? Give feedback.
-
making this a discussion for now. probably similar to #1806 in general loaders are something that has to do with threejs itself, these things are usually not related to r3f, it just calls the loader. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I try messing around with react-three-fiber code and it works fine but when I tried using it in my project it gives out an " InternalError: too much recursion " or the browser try its best to run it and then the RAM usage goes to maximum and crashed my computer.
Beta Was this translation helpful? Give feedback.
All reactions