particles and depth testing???

Started by
9 comments, last by mictian 20 years, 8 months ago
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!

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

This topic is closed to new replies.

Advertisement