Templates changes for OpenGL shaders.
Merge pull request #939 from BeamNG/templates_opengl

Templates changes for OpenGL shaders.