Skip to content
Discussion options

You must be logged in to vote

I got it to work.

It turned out I missed some pieces from the original code.

But I still need to write imperative code for material and geometry, then:

<mesh material={material} geometry={geometry} />

I don't know how to express <rawShaderMaterial /> and <instancedBufferGeometry /> declaratively with r3f.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@fnick851
Comment options

Comment options

You must be logged in to vote
4 replies
@drcmda
Comment options

@fnick851
Comment options

@drcmda
Comment options

@fnick851
Comment options

Answer selected by fnick851
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