aboutsummaryrefslogtreecommitdiffstats
path: root/examples/resources/learnopenglshader.frag
blob: ae3ba3ce6e67616c36620cf4c42ba00b072ea599 (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);
}