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 9Advanced Buffers: Beyond the Basics

by Nicholas Haemel

What You’ll Learn in this Chapter:

Image

By now framebuffer objects are old hat. We can use the flexibility provided by FBOs, textures, and buffer objects to really push the OpenGL pipeline. So far most of our work has been with traditional 8-bit color textures and renderbuffers. Even depth buffers mapped all values to 24 or 32 bits of physical fixed-point range.

New data formats open a whole new world, allowing your application to store the actual output of the fragment shader without loss of precision. The fun doesn’t stop there. OpenGL also provides many ways of accessing and updating ...

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