SWBF2-Classic-Msh-Viewer/MeshViewerQt/Resources/simple.vert
2016-12-10 14:42:00 +01:00

10 lines
185 B
GLSL

#version 330
layout(location = 0) in vec3 position;
layout(location = 1) in vec3 color;
out vec4 vColor;
void main()
{
gl_Position = vec4(position, 1.0);
vColor = vec4(color, 1.0);
}