I really want to know how to create FBO with MRT of certain condition
create FBO with cubemap color attachment and render each face simultaneously. (or multiple cubemap with attaching each color attachment and render six times for rendering)
create FBO with texture array color attachment with each texture array layer
For 1, you need EXT_geometry_shader4, to attach an entire cubemap to an FBO and set gl_Layer to direct each primitive to a specific face. Or, attach one face at a time and render six times, that works with just EXT_framebuffer_object.
For 2, you need ARB_draw_buffers and EXT_texture_array.