12 lines
192 B
GLSL
12 lines
192 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in vec3 pos;
|
|
layout(location = 1) in vec3 col;
|
|
|
|
layout(location = 0) out vec3 fragCol;
|
|
|
|
void main() {
|
|
gl_Position = vec4(pos, 1.0);
|
|
fragCol = col;
|
|
}
|