Files
linguist/samples/GLSL/myvertex.vrx
2014-06-26 09:25:40 -05:00

12 lines
172 B
GLSL

uniform mat4 u_MVPMatrix;
attribute vec4 a_position;
attribute vec4 a_color;
varying vec4 v_color;
void main()
{
v_color = a_color;
gl_Position = u_MVPMatrix * pos;
}