mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-16 14:08:59 +07:00
8 lines
152 B
GLSL
8 lines
152 B
GLSL
uniform sampler2D u_texture;
|
|
varying vec2 v_st;
|
|
|
|
void main() {
|
|
vec2 st = vec2(v_st.s, 1.0 - v_st.t);
|
|
gl_FragColor = texture2D(u_texture, st);
|
|
}
|