c++ - OpenGL: GL_FRAMEBUFFER_UNSUPPORTED on specific combinations of framebuffer attachments -
im trying attach multiple targets framebuffer object. have following problem: there no error, when using float texture attachments , depth attachment. there no error, when using float texture attachments , integer texture attachments. although these combinations work, cant use float, integer , depth attachments @ same time. results in gl_framebuffer_unsupported status. this code: //working: framebuffer fb = framebuffer( 1280,720, { //attachmentinfo(gl_depth_component16,gl_depth_attachment), attachmentinfo(gl_rg32f,gl_color_attachment0), attachmentinfo(gl_rgb16ui,gl_color_attachment1), attachmentinfo(gl_rgb32f,gl_color_attachment2), attachmentinfo(gl_rgb32f,gl_color_attachment3), attachmentinfo(gl_rgba16f,gl_color_attachment4), attachmentinfo(gl_rgb32f,gl_color_attachment5), attachmentinfo(gl_rgb32f,gl_color_attachment6), } ); //working: framebuffer fb = framebuffer( 1280,720, { attac...