blob: 01c06218974c111cecc9f4073046847188caacc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#version 150 core
in vec2 texCoord;
out vec4 fragColor;
uniform vec3 color1;
uniform vec3 color2;
void main()
{
fragColor = vec4( mix( color1, color2, texCoord.t ), 1.0 );
}
|