BambuStudio/resources/shaders/140/flat_texture.fs

13 lines
152 B
GLSL

#version 140
uniform sampler2D u_texture;
in vec2 v_texcoord;
out vec4 frag_color;
void main()
{
frag_color = texture(u_texture, v_texcoord);
}