2012-04-03 23:30:07 -04:00
|
|
|
uniform mat4 mvp;
|
2014-02-11 02:06:13 -05:00
|
|
|
attribute vec4 myColor;
|
2012-04-03 23:30:07 -04:00
|
|
|
void main ()
|
|
|
|
{
|
|
|
|
gl_Position = (mvp * gl_Vertex);
|
|
|
|
gl_FrontColor = myColor;
|
|
|
|
}
|
|
|
|
|
2014-02-11 02:06:13 -05:00
|
|
|
|
|
|
|
// inputs: 2, stats: 1 alu 0 tex 0 flow
|