aboutsummaryrefslogtreecommitdiff
path: root/src/shader/display_fragment.glsl
blob: 8b98ce11540bc4ede0c6e594da8b1eac7ed9f307 (plain)
1
2
3
4
5
6
7
8
9
10
11
static const std::string DISPLAY_FRAGMENT_SHADER_CODE = R"(
#version 330 core

out vec4 FragColor;
in vec2 TexCoords;
uniform sampler2D screen_texture;

void main() {
	FragColor = texture(screen_texture, TexCoords);
}
)";