Files
spacefarer/data/shaders/basic.frag
2025-06-29 18:49:23 +05:00

11 lines
220 B
GLSL

#version 450
layout(location = 0) in vec2 inUV;
layout(location = 0) out vec4 fragColor;
layout(set = 2, binding = 0) uniform sampler2D texture_sampler;
void main() {
fragColor = texture(texture_sampler, inUV);
}