14 lines
197 B
GLSL
14 lines
197 B
GLSL
#version 130
|
|
|
|
in vec3 vPosition;
|
|
in vec3 vColor;
|
|
out vec4 color;
|
|
uniform mat4 modelview;
|
|
|
|
void
|
|
main()
|
|
{
|
|
gl_Position = modelview * vec4(vPosition, 1.0);
|
|
|
|
color = vec4( vColor, 1.0);
|
|
} |