aboutsummaryrefslogtreecommitdiff
path: root/web/pw-visualizer/assets/shaders/frag/image.glsl
blob: f8d62c90e25f45e09b4ad86bcee631af4f84762e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifdef GL_ES
precision mediump float;
#endif

// Passed in from the vertex shader.
varying vec2 v_texCoord;

// The texture.
uniform sampler2D u_texture;

void main() {
   gl_FragColor = texture2D(u_texture, v_texCoord);
}