I am wondering how to use the pointsmaterial and the points object from three-react-fiber. I have a custom geometry that I import from a .gltf file and I currently render it like this:
<mesh
castShadow
receiveShadow
ref={grip}
geometry={nodes.Circle002_1.geometry}
material={wired}
/>
However, I am lost in how to create a pointsmaterial and attach it to the mesh instead of the wired material I use now. Can someone please explain how to do this in React?