O'Reilly logo

OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition by Bill M. Licea-Kane, John M. Kessenich, Graham Sellers, Dave Shreiner

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 4. Color, Pixels, and Framebuffers

Chapter Objectives

After reading this chapter, you’ll be able to do the following:

• Understand how OpenGL processes and represents the colors in your generated images.

• Identify the types of buffers available in OpenGL, and be able to clear and control writing to them.

• List the various tests and operations on fragments that occur after fragment shading.

• Use alpha blending to render translucent objects realistically.

• Use multisampling and antialiasing to remove aliasing artifacts.

• Employ occlusion queries and conditional rendering to optimize rendering.

• Create and use framebuffer objects for advanced techniques, and to minimizing copying of data between buffers.

• Retrieve rendered images, ...

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