- The chapter03/scenediffuse.cpp file in the example code
- The Sending data to a shader using uniform variables recipe in Chapter 2, Working with GLSL Programs
- The Compiling a shader recipe in Chapter 1, Getting Started with GLSL
- The Linking a shader program recipe in Chapter 1, Getting Started with GLSL
- The Sending data to a shader using vertex attributes and vertex buffer objects recipe in Chapter 2, Working with GLSL Programs