summaryrefslogtreecommitdiff
path: root/demo.fs
blob: ebdf3f857b161aa8e4031bdc5776c11cf4fbc2ac (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 = vec4(outColor.xyz, 1.0); //mix(texture(boxTexture, outTexCoord), texture(happyTexture, outTexCoord), 0.2);
}