I am unable to understand that if a compressed texture created from glCompressedTexImage2D can be shown on screen. Then why cannot be attached with framebuffer object. I have tested attaching this compressed texture with FrameBuffer using FrameBufferTex2D call. I have also tried using a RenderBuffer and place this texture in it (I havent been able to find any compressed format that render buffer takes).
Originally posted by sobanhameed: I am unable to understand that if a compressed texture created from glCompressedTexImage2D can be shown on screen. Then why cannot be attached with framebuffer object.
It is easy to decompress required texels from compressed texture and any reasonably new hw supports that.
On the other hand, rendering into compressed texture would be reasonably implementable (for speed, complexity and image quality reasons) only on tile based renderer so no current hw supports that.