OpenGL Fade masks

I think I've done this all right, someone correct me if I haven't.