horror/content/shaders/ui_tex.ps
2024-06-10 12:48:14 +03:00

11 lines
187 B
PostScript

#version 120
varying vec2 v_texcoord;
varying vec4 v_color;
uniform sampler2D u_texture;
void main() {
vec4 tex = texture2D( u_texture, v_texcoord );
gl_FragColor = v_color * tex;
}