If you use depthmasking you can make it a lot faster. Bubblesort will slow you down, especially if the number of particles increases. Just:
- render scene
- enable depthmask
- render particles
- disable depthmask
- swap buffers
Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]
GSACP: GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement