-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Nevermind, I figured out by reading the updated docs. attachObject={["attributes", "vertexID"]} became attach="attributes-vertexID" |
Beta Was this translation helpful? Give feedback.
-
How did you manage to do this? I've been trying to pass a custom attribute to the rawShaderMaterial but couldn't figure a way to do it. I ended up doing this instead and, even if it works, I still believe there is a fiber way to do this:
|
Beta Was this translation helpful? Give feedback.
Nevermind, I figured out by reading the updated docs.
I needed to change attachObject to just attach, as well as some other minor syntax changes that the docs explain.
attachObject={["attributes", "vertexID"]}
became
attach="attributes-vertexID"