Chapter 21. High-Level Shading: The Real Slim Shader
by Benjamin Lipchak
WHAT YOU'LL LEARN IN THIS CHAPTER:
Functions You'll Use
Create shader/program objects
Specify shaders and compile
Attach/detach shaders and link
Switch between programs
Specify a uniform
Get error and warning information
You could, in theory, write all your applications in assembly language. But you don't, and there are good reasons for not doing so: development time efficiency, readability, maintainability, and portability, to name just a few. The benefits of assembly are becoming scarce with ...
Get OpenGL® SuperBible, 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.