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 3.0 fragment pipeline. As you’ll recall, the output of the fragment shader is the fragment’s colors and depth value. The following operations occur after fragment shader execution and can affect the visibility and final color of a pixel:
• 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.
As you might have noticed, there isn’t ...
Get OpenGL ES 3.0 Programming Guide, Second Edition 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.