A Review

We’ve covered some of the basics of a particle system, but really we’ve only scratched the surface. So much can be done with particles, including realistic-looking flames, rain and snow effects, and more. We’ve learned how to draw particles with OpenGL’s GL_POINTS mode, but we also went into further detail by learning how to use gl_PointCoord with the discard keyword to come up with custom point shapes; we can also customize the appearance of our points even further by using textures. With these capabilities, we can come up with some really neat effects.

Get OpenGL ES 2 for Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.