13 lines
197 B
GLSL
13 lines
197 B
GLSL
#version 460 core
|
|
|
|
layout (location = 0) in vec3 aPos;
|
|
layout (location = 1) in vec3 aCol;
|
|
|
|
out vec4 vertexColor;
|
|
|
|
void main()
|
|
{
|
|
vertexColor = vec4(aCol, 1.0f);
|
|
gl_Position = vec4(aPos, 1.0f);
|
|
}
|