Hi all, I have an FBO with a depth buffer and four color buffers (two RGBA16F and two LUMINANCE32F). Google says that if I call glClear with GL_COLOR_BUFFER_BIT, it clears all four color buffers at once. This doesn’t agree with my experiments though.
Ack, when I posted this, I thought it was only clearing the first one, the RGBA16F one. On a closer look, it looks like its successfully clearing both the RGBA16F ones, and its leaving the LUMINANCE32F’s dirty.
It must be a format issue then, because only LUMINANCE32F’s are not being cleared. I’m looking on Google though, and nobody mentions anything about this clearing not working for them…
Shoot, nevermind! It turns out it had nothing to do with the format, it was somewhere else completely in my code. Sorry about that! Thanks for your help anyway though!