1 2 3 4 5 6 7 8 9 10
#version 450 layout (location = 0) out vec4 f_color; layout (location = 1) in vec2 tex_coords; layout (location = 2) in vec4 color; layout (location = 3) flat in uint layer; void main() { f_color = color; }