summaryrefslogtreecommitdiff
path: root/advanced_lighting/9.ssao/screen.frag
blob: 3ae592d7f19ca4e6fd59d9ab2957e8639d9a9930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 330 core

in vert_t {
    vec2 tex_coords;
} vert;

out vec4 frag_color;

uniform sampler2D colorbuffer;

void main()
{
    frag_color = vec4(texture(colorbuffer, vert.tex_coords).rgb, 1.0);
}