MoonWorksComputeSpriteBatch/shaders/sprite.frag

12 lines
228 B
GLSL
Raw Normal View History

2022-01-18 04:39:23 +00:00
#version 450
layout(set = 1, binding = 0) uniform sampler2D uniformTexture;
layout(location = 0) in vec2 fragCoord;
layout(location = 0) out vec4 fragColor;
void main()
{
fragColor = texture(uniformTexture, fragCoord);
}