summaryrefslogtreecommitdiff
path: root/demo.fs
blob: ddfc235d55059352b8e49a4a3900f7ef1b9ea242 (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.1);
}