hello-rltk/resources/backing.fs

12 lines
205 B
Forth
Raw Permalink Normal View History

2019-10-14 19:28:11 +00:00
#version 330 core
out vec4 FragColor;
in vec2 TexCoords;
uniform sampler2D screenTexture;
void main()
{
vec3 col = texture(screenTexture, TexCoords).rgb;
FragColor = vec4(col, 1.0);
}