aboutsummaryrefslogtreecommitdiffstats
path: root/examples/resources/learnopenglshader.frag
blob: 30919459f68793216ec837907040c54513409608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 450 core
out vec4 FragColor;

in vec4 ourColor;
in vec2 TexCoord;

uniform sampler2D ourTexture;

void main()
{
    FragColor = texture(ourTexture, TexCoord);
}