I have a (Qt) window with OpenGL context, to draw my geometry. Scene with one light and materials.
I have a OpenGL framebuffer object to make some mathematical calculations. Nothing to display on screen. There is no need for lights and materials. Not even color.
I realize when output the framebuffer object to a TGA image, that inherits the real window framebuffer characteristics. So there is light and materials.
This is not what I want. I want the new framebuffer object to start from scratch, totally independent with real window’s framebuffer. Is there a way for this?
If I disable the lighting or if I change the projection matrix in framebuffer object, it will affect real window framebuffer?
Thanks for your time.