Edges for instancedMesh #1188
Unanswered
kayden1940
asked this question in
Q&A
Replies: 1 comment
-
you can do what the post you linked says you should. just use plain THREE.EdgesGeometry and that offset shader extension whatever that does. in react anything that is imperative goes into a useLayoutEffect or useEffect, you can access the instance with useRef, there's really no difference from there on. |
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
-
It seems using Edges on instancedMesh would not work out of the box.
I then have stumble upon a post below about using edgesgeometry instancedmesh.
https://discourse.threejs.org/t/use-edgesgeometry-in-an-instancedmesh/16723/4
Not sure how to implement it in r3f.
Beta Was this translation helpful? Give feedback.
All reactions