Files
armorpaint/armorcore/shaders/g2_text.vert.glsl
T
2024-11-10 22:11:29 +01:00

16 lines
212 B
GLSL

#version 450
uniform mat4 P;
in vec3 pos;
in vec2 tex;
in vec4 col;
out vec2 tex_coord;
out vec4 fragment_color;
void main() {
gl_Position = mul(vec4(pos, 1.0), P);
tex_coord = tex;
fragment_color = col;
}