OpenGL GLSL template written in C