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

/*
 * 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 lowp float;

varying vec2 Texcoord;

uniform sampler2D tex;

void main()
{
	gl_FragColor = texture2D(tex, Texcoord);
}