backing.fs 205 B

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