summaryrefslogtreecommitdiffhomepage
path: root/shaders/tile-shader.frag
blob: 84bcac4540b6c68af839ff2b3fd1d0aaba14b431 (plain)
1
2
3
4
5
6
7
8
9
10
precision highp float;

uniform sampler2DRect sampler;

noperspective in vec2 frag_texcoords;
out vec4 color;

void main() {
    color = vec4(texture(sampler, frag_texcoords).rgb, 1);
}