blob: 8a4cb024b8a831fa16ba38404ddce4dd4b6b19a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#version 430 core
layout (location = 0) in vec2 frag_tex_coord;
layout (location = 0) out vec4 color;
layout (binding = 0) uniform sampler2D color_texture;
void main() {
color = vec4(texture(color_texture, frag_tex_coord).rgb, 1.0f);
}
|