2021-07-04 03:53:37 +02:00
|
|
|
#version 330 core
|
|
|
|
layout (location = 0) in vec3 aPos;
|
|
|
|
|
2021-07-05 09:51:55 +02:00
|
|
|
out vec4 vertexColor;
|
|
|
|
|
2021-07-04 03:53:37 +02:00
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
|
2021-07-05 09:51:55 +02:00
|
|
|
vertexColor = vec4(0.5, 0.0, 0.0, 1.0);
|
2021-07-04 03:53:37 +02:00
|
|
|
}
|