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

layout(location = 2) uniform sampler2D textureData;
layout(location = 1) uniform float y_scale;

in vec2 interpolatedTextureCoordinates;

out vec4 fragmentColor;

void main() {
    fragmentColor.rgb = texture(textureData, interpolatedTextureCoordinates).rgb;
    fragmentColor.a = 1;
}