#version 450

// 输入变量（与顶点着色器输出对应）
layout(location = 0) in vec2 inTexCoord;

// 输出颜色
layout(location = 0) out vec4 outColor;

// 纹理采样器
layout(binding = 0) uniform sampler2D texSampler;

void main() {
    // 采样纹理
    outColor = texture(texSampler, inTexCoord);
}