#version 330 core

out vec4 FragColor;

uniform float fadeAlpha;  // 0.0 = fully transparent, 1.0 = fully black

void main()
{
    // Simple black fade overlay
    FragColor = vec4(0.0, 0.0, 0.0, fadeAlpha);
}