hUI/hui-glium/shaders/fragment.es.frag

14 lines
224 B
GLSL
Raw Permalink Normal View History

2024-02-17 14:43:46 -06:00
#version 300 es
precision highp float;
precision highp sampler2D;
out vec4 out_color;
in vec4 vtx_color;
in vec2 vtx_uv;
2024-02-24 21:02:10 -06:00
uniform sampler2D tex;
2024-02-17 14:43:46 -06:00
void main() {
2024-02-24 21:02:10 -06:00
out_color = texture(tex, vtx_uv) * vtx_color;
2024-02-17 14:43:46 -06:00
}