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 10Fragment Operations: The End of the Pipeline

by Nicholas Haemel

What You’ll Learn in this Chapter:

Image

After reading through the first nine chapters, you should be well-versed in using vertex and fragment shaders to generate output based on your geometry. But what happens when your fragment shader is finished? Where do all the fragments go? It just so happens there are a few more steps these fragments must make before they can retire to a final resting place in a buffer or window.

This chapter walks through the last steps in the OpenGL pipeline, the per-fragment operations. We start with the scissor test, which is the first stop along the ...

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