I have a few questions regarding FBO's, and in-particular the color attachments.
Am I correct in thinking that when you draw it clears all the active attachments? So you can't draw once to color attachment 0 using gl_FragData, and then draw again to color attachment 1 using glFragData. And then draw both to the screen.
If that is the case, do you think I'm better off drawing both things at once and using my shader to put one output in color attachment 0 and the next into color attachment 1. Though what I'm drawing there really isn't any easy way of distinguishing the two.
Or would I be better off just creating a second FBO? My main concern is whether or not there is some big performance hit with binding different FBOs?