MoonWorksGraphicsTests/Common/Content/Shaders/Source/TexturedQuad.frag

13 lines
212 B
GLSL
Raw Permalink Normal View History

2022-11-09 19:54:42 +00:00
#version 450
layout (location = 0) in vec2 TexCoord;
layout (location = 0) out vec4 FragColor;
2024-06-06 05:47:06 +00:00
layout(set = 2, binding = 0) uniform sampler2D Sampler;
2022-11-09 19:54:42 +00:00
void main()
{
FragColor = texture(Sampler, TexCoord);
}