View Full Version : Sorting of particles
09-11-2008, 10:27 AM
I have a particle system which emits a million particles at the same time. I am using GPU Sort to sort these particles and render them back to front with respect to the user. The particles are traveling at different velocities. I am sorting the particles over multiple frames. I do not want to sort the particles in a single frame as sorting is expensive and I want my application to be real time. So the user sees some artifacts as the particles are sorted gradually. Can anyone suggest a method so that the artifacts could be at the minimum ?
09-11-2008, 11:47 AM
Use additive alpha blending and don't sort at all.
09-13-2008, 09:57 AM
Playstation1 type sorting
09-16-2008, 01:18 PM
thanks for the solution. Additive alpha blending does give less objectionable but good results.
09-16-2008, 01:22 PM
what do you mean by playstation 1 type sorting ? Could you provide me some links where I can read about it ?
09-16-2008, 08:05 PM
if the particle is screen pixel size, just use depth test is OK. i have rendered transparent volume with particles, it looks good.
09-18-2008, 01:48 AM
You might want to order by 1/AverageZ (more like 1000/AverageZ)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.