Hmmmmm, I'm still a little unclear as to how to properly point to a cube map image using the glFramebufferTexture and glFramebufferTextureLayer functions. This may be an area where we still need the 2D version. It seems that, with glFramebufferTexture2D, one would use the textarget parameter to specify which face to use.
Perhaps glFramebufferTexture3D can be used to specify a layer in a cube map array texture? I sort of doubt it, though, because the documentation says that GL_TEXTURE_3D is the only valid textarget for glFramebufferTexture3D.
I know that glFramebufferTexture can be used along with a cube map to set up layered rendering, but I am not sure how to use glFramebufferTextureLayer to point to a specific layer-face of a cube map (or indeed if this is even possible).
This seems to be one of the more confusing sets of APIs within the OpenGL universe. =P =)
Edited by CDProp, 13 January 2013 - 06:03 PM.