2020-02-11 19:01:50 +01:00
|
|
|
#version 460 core
|
|
|
|
|
2020-03-13 14:04:49 +01:00
|
|
|
layout(location = 0) in vec3 pos;
|
|
|
|
layout(location = 1) in vec3 colIn;
|
|
|
|
|
|
|
|
out vec3 colV;
|
2020-02-11 19:01:50 +01:00
|
|
|
|
2020-03-08 21:03:48 +01:00
|
|
|
void main(void)
|
2020-02-11 19:01:50 +01:00
|
|
|
{
|
2020-03-13 14:04:49 +01:00
|
|
|
colV = colIn;
|
2020-03-13 17:11:07 +01:00
|
|
|
gl_Position = vec4(pos, 1);
|
2020-02-11 19:01:50 +01:00
|
|
|
}
|