aboutsummaryrefslogtreecommitdiff
path: root/examples/render-quad/src/data/shader.frag
blob: 929073ff79791c05a6865d42a387cb24db5cce64 (plain)
1
2
3
4
5
6
7
8
9
10
11
#version 450

layout (location = 0) in vec2 frag_pos;
layout (location = 1) in vec3 frag_color;

layout (location = 0) out vec4 color;

void main()
{
	color = vec4(frag_color, 1.0);
}