Documentation
1
2
3
4
5
6
7
8
9
10
uniform sampler2D diffuseTexture;

out vec4 FragColor;

in vec2 texCoord;

void main()
{
    FragColor = texture(diffuseTexture, texCoord);
}