bloat-buster/dependencies/glslang-15.0.0/Test/vk.relaxed.changeSet.frag
David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

14 lines
181 B
GLSL

#version 460
layout(location = 0) out vec4 fragColor;
uniform sampler2D sTexture;
in vec4 Color;
in vec2 UV;
void main()
{
fragColor = Color * texture(sTexture, UV.st).r;
}