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