blob: e33b71216072bfcf8d74f89ed5c4a8fd2b5d126d (
plain)
1
2
3
4
5
6
7
8
9
10
|
#version 300 es
precision highp float;
in vec2 v_texcoord; // is in 0-1
uniform sampler2D tex;
layout(location = 0) out vec4 fragColor;
void main() {
fragColor = texture(tex, v_texcoord);
}
|