abrasion/engine/shaders/forward.vert

17 lines
266 B
GLSL

// vim: set ft=glsl:
#version 450
layout(location = 0) in vec3 pos;
layout(location = 1) in vec3 color;
layout(location = 0) out vec3 fragColor;
out gl_PerVertex {
vec4 gl_Position;
};
void main() {
gl_Position = vec4(pos, 1.0);
fragColor = color;
}