summaryrefslogtreecommitdiff
path: root/4.1.texture.fs
blob: 46ac15f5fab8a935a245cb8c58fcb1348cf13321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 330 core
out vec4 FragColor;

in vec3 ourColor;
in vec2 TexCoord;

// texture sampler
uniform sampler2D texture1;

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