GLSLShader

Simple GLSL shader harness program. Does nothing more than draw a line on the screen. The color is controlled by the shader.vert GSL source.

Concepts shown:

  • Create a shader program.
  • Load GLSL source from a file.
  • Compile the source to attach to a Shader program.
  • Use Program Parameters.
  • Shader Program linkage.
  • Obtaining log info for the different program objects.