spacegame/shader_src/texture.frag

12 lines
254 B
GLSL

#version 450
layout(location = 0) in vec3 fragColor;
layout(location = 1) in vec2 fragTex;
layout(location = 0) out vec4 outColor;
2024-01-13 16:37:29 -07:00
layout(set = 1, binding = 0) uniform sampler2D texSampler;
void main() {
2024-01-13 16:37:29 -07:00
outColor = texture(texSampler, fragTex);
}