1 #version 330 core 2 out vec4 FragColor; 3 4 in vec2 TexCoords; 5 6 uniform sampler2D screenTexture; 7 8 void main() 9 { 10 vec3 col = texture(screenTexture, TexCoords).rgb; 11 FragColor = vec4(col, 1.0); 12 }