summaryrefslogtreecommitdiffhomepage
path: root/src/shaders/default.frag
blob: 241369e51260384c8420275121dba820b4ca4b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 330 core
out vec4 FragColor;

in vec3 ourColor;
in vec2 TexCoord;

uniform sampler2D texture1;
//uniform sampler2D texture2;

void main()
{
	vec2 texInvert = vec2(TexCoord.x, -TexCoord.y);
    FragColor = texture(texture1, texInvert);// * ourColor;
    //FragColor = texture(ourTexture, TexCoord) * vec4(ourColor.xyz, 1.0);
}