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