summaryrefslogtreecommitdiff
path: root/txtgameengine/builtin_res/shaders/texture/fragment.glsl
blob: d9d36fdd957c6bae0a1ac2033afce7383c4cd0b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 330 core

in vec2 UV;

out vec3 color;

uniform sampler2D textureSampler;

void main() {
    color = texture(textureSampler, UV).rgb;
}