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