havokentity
03-28-2008, 11:16 PM
Hello,
I have a FBO object, that has 2 color attachments, the second attachment stores normal data. I multisample this FBO using a multisample FBO,
but when I render the second attachment, the scene is getting displayed and not the normal data, and NOT multisampled! The multisample FBO, I tried it with 1 and 2 color attachments but still
it doesn't work. I've already tested the FBO without the multisample FBO and the normal data is appearing fine then, but, I need to multisample my scene and
leave the normal data in the second color attachment un-touched.
So basically, I want to multisample 1 color attachment in a 2 color attachment FBO, leaving the 2nd color attachment untouched (not multisampled). I've been
exhausting different possibilities but nothing seems to work.
My current glDrawBuffers are both color attachments.
Is this possible in OpenGL? I've tried with single and 2 color attachments in the multisample FBO. is there anything I'm doing wrong?
btw, all my FBO are fine after checking their status, so FBO creation was successful.
Thanks
I have a FBO object, that has 2 color attachments, the second attachment stores normal data. I multisample this FBO using a multisample FBO,
but when I render the second attachment, the scene is getting displayed and not the normal data, and NOT multisampled! The multisample FBO, I tried it with 1 and 2 color attachments but still
it doesn't work. I've already tested the FBO without the multisample FBO and the normal data is appearing fine then, but, I need to multisample my scene and
leave the normal data in the second color attachment un-touched.
So basically, I want to multisample 1 color attachment in a 2 color attachment FBO, leaving the 2nd color attachment untouched (not multisampled). I've been
exhausting different possibilities but nothing seems to work.
My current glDrawBuffers are both color attachments.
Is this possible in OpenGL? I've tried with single and 2 color attachments in the multisample FBO. is there anything I'm doing wrong?
btw, all my FBO are fine after checking their status, so FBO creation was successful.
Thanks