umbra/resources/tri/tri.frag
Curle a3e89b4e8f
Replace the renderer with a modern, module version. (#7)
* New Vulkan Renderer Module & Associated Fixups
2022-11-26 16:44:16 +00:00

13 lines
217 B
GLSL

#version 450
layout(push_constant) uniform Alpha {
float value;
} alpha;
layout(location = 0) in vec3 color;
layout(location = 0) out vec4 frag_color;
void main() {
frag_color = vec4(color, alpha.value);
}