mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 00:11:55 +07:00
9 lines
156 B
GLSL
9 lines
156 B
GLSL
uniform sampler2D u_texture;
|
|
|
|
varying vec2 v_st0;
|
|
|
|
void main() {
|
|
vec2 st = vec2(v_st0.s, 1.0 - v_st0.t);
|
|
gl_FragColor = texture2D(u_texture, st);
|
|
}
|