Chapter 16. Textures and renderbuffers


This chapter covers
  • Image filtering: blurring, sharpening, and embossing
  • Implementing texture filtering with OpenCL


In 1992, the computer game Wolfenstein 3D started a revolution and launched the genre known as the first-person shooter or FPS. Since its release, the basic elements of FPS gameplay haven’t changed: keystrokes move the character, mouse motion sets the character’s direction, and mouse clicks fire the character’s weapon.

The graphics, on the other hand, have changed dramatically. Instead of pixelated bad guys who look and move like LEGO men, monsters in modern games are rendered with such incredible detail that you can see every scale, scowl, and razor-sharp claw.

These visual improvements ...

Get OpenCL in Action: How to Accelerate Graphics and Computation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.