learn-opengl/24-cubemaps/shaders/21-screen.frag.glsl
2026-09-03 14:51:53 -04:00

11 lines
160 B
GLSL

#version 330 core
out vec4 FragColor;
in vec2 TexCoords;
uniform sampler2D screenTexture;
void main()
{
FragColor = texture(screenTexture, TexCoords);
}