ghiboz's picture

Save a openGL rendering with transparency

hi all!
I have a GLControl in my app and it shows a mesh, like a cube....
I wish grab this rendering in a png file but with the transparency channel right (example, the cube is shown correctly but all the rest, transparent ( in the rendering there's only a cube that is smaller than the GLControl))
I tried this:
save-opengl-rendering-to-disk, I changed the rgb to rgba but doesn't work right, show exactly the opposite thing that I want...
thanks for the support