0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-06 09:21:50 +00:00
quakeforge/libs/video/renderer/vulkan/shader/twod.frag

17 lines
285 B
GLSL

#version 450
layout (set = 0, binding = 1) uniform sampler2D Texture;
layout (location = 0) in vec2 st;
layout (location = 1) in vec4 color;
layout (location = 0) out vec4 frag_color;
void
main (void)
{
vec4 pix;
pix = texture (Texture, st);
frag_color = pix * color;
}