SoftParticle Depth Sorting Directx10

Hi , iam trying to implement soft particles into my particle system but iam having difficulty understanding the z buffer sort you have to do. At the moment all of the update of the system is done in the geometry shader however, i need access to the position of each particle to perform the depth sort, how can the sort be done without moving some of the update to the CPU??

Thankyou very much
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!