blob: f1c86707cd37df94a3b604eff37a1d4bb2f1caae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#version 330 core
in vec3 outColor;
in vec2 outTexCoord;
out vec4 FragColor;
uniform sampler2D boxTexture;
uniform sampler2D happyTexture;
void main()
{
FragColor = mix(texture(boxTexture, outTexCoord), texture(happyTexture, outTexCoord), 0.2);
}
|