1 #include "shaders_common.h" 2 3 static const char *stock_vertex_modern_blend = GLSL( 4 attribute vec2 TexCoord; 5 attribute vec2 VertexCoord; 6 attribute vec4 Color; 7 uniform mat4 MVPMatrix; 8 varying vec2 tex_coord; 9 varying vec4 color; 10 11 void main() { 12 gl_Position = MVPMatrix * vec4(VertexCoord, 0.0, 1.0); 13 tex_coord = TexCoord; 14 color = Color; 15 } 16 ); 17