PDA

View Full Version : PBuffer with mipmaps



game_cy
07-31-2003, 03:28 AM
Hi all,
has anyone implemented pbufer with mipmaps?
is it possible? ..

Obli
08-01-2003, 05:20 AM
Pbuffers alone does not support mipmaps (it's like asking if the front buffer supports mipmapping).
In the better chance you're asking for render-texture-to-pbuffer with mipmaps, it is possible but right now I don't remember exaclty how this works.

Quite sure your pbuffer must have a render-to-texture enabled pixel format.
Maybe it needs to support mipmaps but i'm not sure.

If you have automipmapping I guess mipmap will be generated every time you bind the pbuffer to a texture.
If you don't have this... ugh - suddendly this becomes pretty ugly.