- 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
See also
Get OpenGL 4 Shading Language Cookbook - Third 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.