What would be the way to raycast in a InstanceBufferAttribute ?. I have tried to raycast and without results, it does not return any information
this is the pen https://codepen.io/AlainBarrios/pen/RwNZYxB#0
What would be the way to raycast in a InstanceBufferAttribute ?. I have tried to raycast and without results, it does not return any information
this is the pen https://codepen.io/AlainBarrios/pen/RwNZYxB#0
Hi!
Take a look at these topics: Raycast Highlight with InstancedMesh and Highlighting an instance in InstancedMesh
There is no implementation of raycasting in InstancedBufferAttribute
. But InstancedMesh
has it.