Chapter 11. Fragment Operations
This chapter discusses the operations that can be applied either to the entire framebuffer or to individual fragments after the execution of the fragment shader in the OpenGL ES 2.0 fragment pipeline. As you’ll recall, the output of the fragment shader is the fragment’s color and depth value. The operations that occur after fragment shader execution and can affect the visibility and final color of a pixel are:
- Scissor box testing.
- Stencil buffer testing.
- Depth buffer testing.
- Multisampling.
- Blending.
- Dithering.
The tests and operations that a fragment goes through on its way to the framebuffer are shown in Figure 11-1.
Figure 11-1. The Post-Shader Fragment Pipeline
As you might have noticed, there isn’t a stage ...
Get OpenGL® ES 2.0 Programming Guide 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.