SimpleDrawShaderMgr is sample C++ code illustrating the use of Modern OpenGL. It is part of a set of programs introducing the use of Modern OpenGL, which are intended to accompany a possible second edition of the book 3D Computer Graphics: A mathematical approach with OpenGL, Cambridge University Press, 2003.

SimpleDrawShaderMgr is an adaptation of SimpleDrawModern to use the GLShaderMgr to read shaders from a file. Instead of hardcoding the shader source code into the a C++ array, it reads the source from a file named SimpleDraw.glsl. Available for download:

Version 1.0 of SimpleDrawShaderMgr, September 13, 2020.