android - How to render to a specific mip-level in OpenGLES? -


anyone know how render specific mip-level texture?

currently binding mip-level texture by:

        glframebuffertexture2d(gl_framebuffer, gl_color_attachment0,             gl_texture_2d, textid, mip-level); 

then later in code, this:

glbindframebuffer(gl_framebuffer, fbo_id);     drawarrays(...); 

but shader not executed!!!

if textid other 0, should generating gl_invalid_value error.

  • gl_invalid_value generated if level not 0 , texture not 0.

i suggest take @ glframebuffertexture2d opengl es. valid want in normal opengl not in opengl es :-\


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -