O'Reilly logo

OpenGL SuperBible: Comprehensive Tutorial and Reference, Fifth Edition by Jr. Richard S. Wright, Benjamin Lipchak, Graham Sellers, Nicholas Haemel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11Advanced Shader Usage

by Graham Sellers

What You’ll Learn in this Chapter:

Image

In this chapter, we cover some more advanced shader topics that will allow you to use your programmable graphics hardware for more than simple polygon rendering. We present a detailed example of using the GPU for physical simulation by recirculating data through transform feedback. We introduce an entirely new shader stage—the geometry shader, which can process entire primitives and even generate new primitives on the fly. We also discuss using the fragment shader to perform advanced per-pixel operations, including image processing and generating fractals.

Layout ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required