blob: 791149cdb552a6ca191676666178f54dd49810e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#version 330 core
in vec2 texture_coordinate;
uniform vec3 extra_color;
uniform sampler2D box_texture;
uniform sampler2D happy_texture;
out vec4 FragColor;
void main()
{
FragColor = mix(texture(box_texture, texture_coordinate),
texture(happy_texture, texture_coordinate),
0.2);
}
|