Replies: 1 comment
-
I'm a bit late but the code you're describing isn't in the sandbox anymore, maybe it was edited? What worked for me (to set the color) was to put the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm trying to use instancedBufferAttribute to set the position attribute of an instancedMesh.
Started from this sandbox, updated to @react-three/fiber 8 and updated the code to. I'm trying to use instancedBufferAttribute with the new attach API to set the geometry position.
Still no geometry(spheres) are showing up. If I comment the instancedBufferAttribute and uncomment useEffect you can see how the scene should look like.
What am I doing wrong?
Here is the sandbox: https://codesandbox.io/s/react-18-attach-cdvgz6?file=/src/App.js
Beta Was this translation helpful? Give feedback.
All reactions