Replies: 1 comment
-
points doesnt have a geometry, attaching one will do nothing. three.pointsmaterial by default is a square, you can alter the shape with a shader material. drei actually has an anti aleased sphere point shader: https://github.com/pmndrs/drei#pointmaterial it is based on regular pointsmaterial and overrides the shader, otherwise it supports all the regular props. you can use it in https://codesandbox.io/s/r3f-points-forked-eq7sc?file=/src/App.js |
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
-
I'm trying to change the geometry of points. Currently they're squares of [1,1]
This doesn't work.
Is there a way it can be done?
Beta Was this translation helpful? Give feedback.
All reactions