mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
9c07dcfcee
Former-commit-id: c5e4ccde88d7170db7aa4d3bfce3e0ba1cf5e8c9
20 lines
282 B
GLSL
20 lines
282 B
GLSL
#version 330 core
|
|
|
|
in vec2 v_pos;
|
|
in vec2 v_uv;
|
|
in vec4 v_color;
|
|
in uint v_mode;
|
|
|
|
uniform sampler2D u_tex;
|
|
|
|
out vec2 f_uv;
|
|
flat out uint f_mode;
|
|
out vec4 f_color;
|
|
|
|
void main() {
|
|
f_uv = v_uv;
|
|
f_color = v_color;
|
|
gl_Position = vec4(v_pos, 0.0, 1.0);
|
|
f_mode = v_mode;
|
|
}
|