15 lines
343 B
C
15 lines
343 B
C
"#ifdef GL_ES\n"
|
|
"precision highp float;\n"
|
|
"#endif\n"
|
|
"attribute vec4 vertex;\n"
|
|
"attribute vec2 tex_coord, tex_coord2, tex_coord3;\n"
|
|
"uniform mat4 mvp;\n"
|
|
"varying vec2 tex_c, tex_c2, tex_c3;\n"
|
|
"void main()\n"
|
|
"{\n"
|
|
" gl_Position = mvp * vertex;\n"
|
|
" tex_c = tex_coord;\n"
|
|
" tex_c2 = tex_coord2;\n"
|
|
" tex_c3 = tex_coord3;\n"
|
|
"}\n"
|