Skip to content
Discussion options

You must be logged in to vote

i believe in threejs you cant change buffergeometry like that. see: https://threejs.org/docs/#manual/en/introduction/How-to-update-things

you need to give it a buffer and then you can mutate it inside a useLayoutEffect. you can't increase the size of the buffer.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ThomLVieira
Comment options

@drcmda
Comment options

@ThomLVieira
Comment options

Answer selected by ThomLVieira
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants