2025-07-12 17:00:33 -06:00

13 lines
218 B
GLSL

#version 460 core
layout (location = 0) in vec4 tex_color;
layout (location = 1) in vec2 tex_coord;
out vec4 frag_color;
uniform sampler2D tex;
void main() {
frag_color = texture(tex, tex_coord) * tex_color;
}