mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 00:11:55 +07:00
12 lines
191 B
GLSL
12 lines
191 B
GLSL
#version 120
|
|
|
|
uniform sampler2D u_texture;
|
|
|
|
varying vec4 v_tint;
|
|
varying vec2 v_st;
|
|
|
|
void main() {
|
|
vec2 st = vec2(v_st.s, v_st.t);
|
|
gl_FragColor = texture2D(u_texture, st) * v_tint;
|
|
}
|