#version 120

uniform sampler2DRect AccumulationSampler;
uniform sampler2DRect RevealageSampler;

void main()
{
    vec4 Accumulation = texture2DRect(AccumulationSampler, gl_FragCoord.xy);
    float Revealage = Accumulation.a;
    Accumulation.a = texture2DRect(RevealageSampler, gl_FragCoord.xy).r;
    
    vec3 Color = Accumulation.rgb / max(Accumulation.a, 0.00001);

    gl_FragColor = vec4(Color, 1.0) * (1.0 - Revealage);
}

#version 120
#extension GL_ARB_texture_rectangle : enable

uniform sampler2DRect AccumulationSampler;
uniform sampler2DRect RevealageSampler;

void main()
{
    vec4 Accumulation = texture2DRect(AccumulationSampler, gl_FragCoord.xy);
    float Revealage = Accumulation.a;
    Accumulation.a = texture2DRect(RevealageSampler, gl_FragCoord.xy).r;
    
    vec3 Color = Accumulation.rgb / max(Accumulation.a, 0.00001);

    gl_FragColor = vec4(Color, 1.0) * (1.0 - Revealage);
}

Order Independent Transparency for old graphics card
FIX: Order Independent Transparency for old graphics card

Former-commit-id: 9b25d8754990fa425409dfc486a180317df5ba4d