ComplexPlotting/src/shader/basic.vert

13 lines
197 B
GLSL
Raw Normal View History

2020-09-02 10:15:29 +00:00
#version 460 core
layout (location = 0) in vec3 aPos;
2020-09-02 10:32:00 +00:00
layout (location = 1) in vec3 aCol;
out vec4 vertexColor;
2020-09-02 10:15:29 +00:00
void main()
{
2020-09-02 10:32:00 +00:00
vertexColor = vec4(aCol, 1.0f);
gl_Position = vec4(aPos, 1.0f);
2020-09-02 10:15:29 +00:00
}