ColorBlitClearAlphaFragmentShaderSource.frag
1 #version 450 core 2 3 layout (binding = 0, set = 2) uniform sampler2D tex; 4 5 layout (location = 0) in vec2 tex_coord; 6 layout (location = 0) out vec4 colour; 7 8 void main() 9 { 10 colour = vec4(texture(tex, tex_coord).rgb, 1.0f); 11 }