Missing particles in transform feedback

Conall Ó Maoláin's icon

Hello,

I'm making a 3D environment to position sound sources for spatial audio. I'm using jit.gl.tf to take the pressure off the CPU. I want to use a separate buffer for a target that the particles are attracted to. How come in doing so the other three particles disappear (or are maybe all rendered at the same position?). I can't have a buffer with the same POSITION state so I'm using VERTEX_ATTR0 instead

Thank you :)

Max Patch
Copy patch and select New From Clipboard in Max.
source_motion.jxs
jxs 1.32 KB


Conall Ó Maoláin's icon

I've realised my mistake :') no need for transform feedback if the target is already moving!