specify the subroutine uniform variable that will hold the “function pointer” for the subroutine
- GLSL Subroutine Setup
- from OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition
- Publisher: Addison-Wesley Professional
- Released: March 2013
does the subroutine variable have to be a uniform one?
Share this highlighthttp://www.safaribooksonline.com/a/opengl-programming-guide/5318/