summaryrefslogtreecommitdiff
path: root/shaders/frag.frag
blob: c6bdbdea90fb5c0930cf5fe3ad49bc427506ab0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#version 300 es

/*
 * Copyright (C) 2021 Philip Jones
 *
 * Licensed under the MIT License.
 * See either the LICENSE file, or:
 *
 * https://opensource.org/licenses/MIT
 *
 * I don't think you can really copyright this shader though :)
 */

precision highp float;

in vec2 Texcoord;

out vec4 FragColor;

uniform sampler2D tex;

void main()
{
	FragColor = texture(tex, Texcoord);
}