I have a scenario with several cameras. Each hold its own color and depth texture. Because the geometry of the environment is expansively procedural generated, I would like to combine cameras with same resolution and texture format, to use layered rendering. This would be a very good performance boost.
The question: Is it possible to combine multiple textures within a Framebuffer, so that when using layered rendering, each camera texture is a separate layer? I know, that when combining all camera textures to one single GL_TEXTURE_2D_ARRAY texture, I could use layered rendering. But I would like to manage them separately, because from time to time the camera positions move away from each other, so the layered rendering will not be helpful anymore. Or better several groups of cameras, which are nearby should be flexible grouped to one layered rendering call.