Chapter 2. Basics
This chapter introduces the OpenGL Shading Language to get you started writing your own shaders as quickly as possible. When you finish reading this chapter, you should understand how programmability has been added to OpenGL and be ready to tackle the details of the shading language description in the next three chapters and the simple example in Chapter 6. After that, you can learn more details about the API that supports the shading language or explore the examples contained in the later chapters.
2.1 Introduction to the OpenGL Shading Language
This book helps you learn and use a high-level graphics programming language formally called the OPENGL SHADING LANGUAGE. Informally, this language is sometimes referred to as GLSL. ...