OpenGL-utility/examples/debug/shaders/vertexShader.vert
2021-01-20 16:51:55 +01:00

11 lines
186 B
GLSL

#version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec3 aCol;
out vec3 oCol;
void main()
{
oCol = aCol;
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
}