Hi, i want to render to any level of mipmap using OES_framebuffer_object and the functions FramebufferTexture2DOES and FramebufferTexture3DOES. Any help would be great.
You can’t render to all mipmap levels at the same time, as the fragment shaders will be executed for every pixel, the dimensions on the different outputs need to be the same.
There is a method GenerateMipmapOES though, that should do what you want. There’s information at http://www.khronos.org/registry/gles/ex … object.txt but it seems poor, a better documentation would be the old EXT_framebuffer_object for OpenGL available at http://oss.sgi.com/projects/ogl-sample/ … object.txt