summaryrefslogtreecommitdiff
path: root/src/fragment.glsl
blob: 1e1d5cff65fd4030a02dec4187756e9d6492f779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 330 core
out vec4 FragColor;

in vec2 texCoord;

uniform sampler2D texture0;
uniform sampler2D texture1;

void
main()
{
	FragColor = mix(texture(texture0, texCoord),
	                texture(texture1, texCoord), 0.2);
}