kaliber/assets/engine/imgui.glsl_fragment

19 lines
290 B
Plaintext

#ifdef GL_ES
precision mediump float;
#endif
IN(0) vec2 tex_coord_0;
IN(1) vec4 color;
UNIFORM_BEGIN
UNIFORM_V(mat4 projection)
UNIFORM_END
SAMPLER(0, sampler2D texture_0)
FRAG_COLOR_OUT(frag_color)
void main() {
FRAG_COLOR(frag_color) = TEXTURE(texture_0, tex_coord_0) * color;
}