horror/content/shaders/ui_tex.ps

11 lines
187 B
PostScript
Raw Permalink Normal View History

2024-06-10 17:48:14 +08:00
#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;
}