umbra/resources/tri/tri.frag

13 lines
217 B
GLSL
Raw Normal View History

#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);
}