Crafter.Graphics/FragmentShaderTexture.frag

10 lines
210 B
GLSL
Raw Normal View History

2025-05-03 06:51:33 +02:00
#version 450
layout(location = 0) in vec2 fragUV;
layout(location = 0) out vec4 outColor;
layout(set = 1, binding = 0) uniform sampler2D texSampler;
void main()
{
outColor = texture(texSampler, fragUV);
}