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

13 lines
212 B
GLSL
Raw 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;
layout(binding = 0, set = 1) uniform sampler2D Sampler;
void main()
{
FragColor = texture(Sampler, TexCoord);
}