Chapter 15. The OpenGL Shading Language

Chapter Objectives

This chapter discusses the OpenGL Shading Language. GLSL, as the OpenGL Shading Language is commonly called, is a programming language for creating programmable shaders. Introduced as a part of OpenGL version 2.0, the OpenGL Shading Language enables applications to explicitly specify the operations used in processing vertices and fragments. Additionally, GLSL helps unlock the computation power of modern hardware implementations of OpenGL.

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

• Understand the structure and components of programmable shaders written in the OpenGL Shading Language

• Integrate programmable shaders into OpenGL programs

• Use exclusively ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1, Seventh 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.