qtbase-opensource-src/examples/vulkan/shared/color.frag

11 lines
147 B
GLSL

#version 440
layout(location = 0) in vec3 v_color;
layout(location = 0) out vec4 fragColor;
void main()
{
fragColor = vec4(v_color, 1.0);
}