summaryrefslogtreecommitdiffstats
path: root/shaders/simple.fs
blob: fce2e07b63db11cd71bb8f0c55e3503b3dd755c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#version 330 core
in vec2 TexCoord;

out vec4 color;

uniform sampler2D texture1;
uniform sampler2D texture2;

void main()
{
    color = mix(texture(texture1, TexCoord), texture(texture2, TexCoord), 0.0);
}