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

layout(location = 2) uniform sampler2D textureData;

in vec2 interpolatedTextureCoordinates;

out vec4 fragmentColor;

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