I have a system to render different objects into different RGBA textures using OpenGL in C++. I'd like to layer these textures on top of eachother, but my problem is that each texture has the glClearColor rendered into it.
How to tell OpenGL to make the ClearColor parts of the texture transparent (0.0f alpha), so I can still see parts of layers behind other layers?