handle =
LoadShaderFromFile(filename [, shadertype] [, debug])
Loads a GLSL
OpenGL shader definition from textfile 'filename' and
creates an
OpenGL GLSL shader of type 'shadertype'. Returns a handle to
the new shader. If shadertype is omitted, the type of the shader is
derived from the filename extension: .vert == GL_VERTEX_SHADER, .frag ==
GL_FRAGMENT_SHADER. The optional 'debug' flag allows to enable debugging
output.
On successfull load & creation, a 'handle' to the new shader is returned.
Psychtoolbox/PsychOpenGL/LoadShaderFromFile.m