10 lines
209 B
GLSL
10 lines
209 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in vec3 position;
|
|
layout(location = 1) in vec3 color;
|
|
layout(location = 0) out vec3 out_color;
|
|
|
|
void main() {
|
|
gl_Position = vec4(position, 1.0);
|
|
out_color = color;
|
|
}
|