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