summaryrefslogtreecommitdiff
path: root/assets/shaders/terrain.frag
blob: 0cc76c8a0ffae89b23b9ba142902b50e917f59fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 410 core

out vec4 FragColor;

in vec4 Color;
in vec2 TexCoord;

uniform sampler2D TextureSlot1;

void main() {
    vec4 tex_color = texture(TextureSlot1, TexCoord);
    FragColor = Color * tex_color;
}