13 lines
212 B
Plaintext
13 lines
212 B
Plaintext
|
attribute vec4 vertex;
|
||
|
attribute vec4 color;
|
||
|
attribute vec2 tex_coord;
|
||
|
uniform mat4 mvp;
|
||
|
varying vec4 col;
|
||
|
varying vec2 tex_c;
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = mvp * vertex;
|
||
|
col = color;
|
||
|
tex_c = tex_coord;
|
||
|
}
|