/* Freetype GL - A C OpenGL Freetype engine * * Distributed under the OSI-approved BSD 2-Clause License. See accompanying * file `LICENSE` for more details. */ uniform mat4 model; uniform mat4 view; uniform mat4 projection; attribute vec3 vertex; attribute vec2 tex_coord; attribute vec4 color; void main() { gl_TexCoord[0].xy = tex_coord.xy; gl_FrontColor = color; gl_Position = projection*(view*(model*vec4(vertex,1.0))); }