Original Post
I have a problem with framebuffers. I'm trying to render the scene into a framebuffer for further postprocessing. I create a framebuffer with renderbuffer as depth and a rectangle texture as color buffer. The renderbuffer is of DEPTH_COMPONENT24 type. The texture has GL_RGB16F_ARB internal format (for HDR). On every frame I call glBindFramebufferEXT(), then glFramebufferTexture2DEXT() to bind the color tex to GL_COLOR_ATTACHMENT0_EXT and glFramebufferRenderbufferEXT() to bind the renderbuffer to depth. Then I check the framebuffer status and I always get GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT. According to the specification this happens because GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT is GL_NONE for GL_COLOR_ATTACHMENT0_EXT. Well, it's not. And that's the problem. I don't know what to do with this. Everything is theoreticaly OK, but according to OGl it's not. Can anybody help?