blob: 1d730899e0688c852dddb547fe0667b2d80e262b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#version 330 core
out vec4 FragColor;
in vec2 TexCoord;
uniform sampler2D texture1;
uniform sampler2D texture2;
void main()
{
FragColor = mix(texture(texture1, TexCoord), texture(texture2, TexCoord), 0.2);
}
|