#version 450 #extension GL_GOOGLE_include_directive : require // Blended over the sky (premultiplied), it moves every pixel `amount` of // the way to the background: what was drawn before fades, a long exposure. layout(location = 0) out vec4 out_color; #include "Fade.glsl" void main() { out_color = vec4(u.background * u.amount, u.amount); }