Hi,

I started trying pbuffer recentlly and met some problem.

I want to render my current scene to a pbuffer( 4096 x 4096 ) and save it to a bmp file while I want to. So I crate pbuffer and release pbuffer inside a function.

After create pbuffer and make it current. I enable the light again, render my models ( with textures). I then save scene to file to see the result.

The result show no texture, just plain, smooth shaded models. I wonder the texture data might missing after I create pbuffer.

Is there any function that I can lock texture data while create pbuffer? Or how should I prevent the texture from misssing?

Thanks,

Daniel