Code Downloads & Errata

If you have purchased a Packt book and/or video, you can use this page to
  • Download the code or support files
  • View errata and amendments
  • Send us feedback

You selected

OpenGL 4.0 Shading Language Cookbook

David Wolff

Published 2011-07-26


Please register your e-mail address to download files. We will e-mail you with a direct link to the code download. If you have bought this book, you can login to your account and download the code files from your account page.

Before downloading the files please tell us where you purchased this book.


- 2 submitted: last submission 11 Nov 2014

Errata type: Typo | Page number: 17

The "How it works..." section mentions "an array named sourceArray". It should be "an array named codeArray".


Errata type: Code | Page number: 8 | Chapter : 1

The errata for issues with the way the shader files were loaded, and where shader data is read from file have been addressed in recent versions of the code at Example code for the OpenGL 4.0 Shading Language Cookbook.



We welcome feedback on the book overall, and how we can improve it.

Send feedback to Packt Publishing

If you want to return a book to us, please use the Returns Center.