13 lines
273 B
GLSL
13 lines
273 B
GLSL
#version 450
|
|
|
|
layout(binding = 1) uniform sampler2D texture_sampler;
|
|
|
|
layout(location = 0) in vec3 frag_color;
|
|
layout(location = 1) in vec2 frag_tex_coord;
|
|
|
|
layout(location = 0) out vec4 out_color;
|
|
|
|
void main() {
|
|
out_color = texture(texture_sampler, frag_tex_coord);
|
|
}
|