mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
12 lines
252 B
GLSL
12 lines
252 B
GLSL
|
#version 450
|
||
|
#extension GL_ARB_separate_shader_objects : enable
|
||
|
|
||
|
layout(location = 0) in vec3 pos;
|
||
|
layout(location = 1) in vec4 color;
|
||
|
layout(location = 0) out vec4 frag_color;
|
||
|
|
||
|
void main() {
|
||
|
frag_color = color;
|
||
|
gl_Position = vec4(pos, 1.0);
|
||
|
}
|