blob: 819d377b05580f78591efefc5d804d9e0fde9364 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
attribute vec4 myVertex;
uniform mat4 myPMVMatrix;
uniform vec4 myColor;
varying vec4 color;
void main(void)
{
gl_Position = myPMVMatrix * myVertex;
color = myColor;
}
|