12 lines
244 B
GLSL
12 lines
244 B
GLSL
#version 450
|
|
|
|
layout (location = 0) in vec4 color;
|
|
layout (location = 1) in vec2 uv;
|
|
|
|
layout (location = 0) out vec4 out_color;
|
|
|
|
layout (set = 2, binding = 0) uniform sampler2D atlas;
|
|
|
|
void main() {
|
|
out_color = color * texture(atlas, uv);
|
|
} |