11 lines
205 B
Plaintext
11 lines
205 B
Plaintext
|
attribute vec3 vPosition;
|
||
|
attribute vec4 vColor;
|
||
|
varying vec4 color;
|
||
|
|
||
|
uniform mat4 ProjectionMatrix;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
|
||
|
color = vColor;
|
||
|
}
|