opengl es 2.0 - Multisampling on iOS can't get depth texture? -


i have set rendering framebuffer color , depth textures on ios, works ok. tried add multisampling via apple extensions (i used code rendering texture on ios opengl es—works on simulator, not on device ) there's catch apparently.

after resolving multisampled buffer original framebuffer (which use post processing effects), have color buffer resolved. glresolvemultisampleframebufferapple() apparently not touch depth texture @ all, if use multisampling have give on depth texture effects. there no way depth texture if use multisampling ? know how multisampling works, want depth texture alongside color texture.

spec on apple_framebuffer_multisample tells glresolvemultisampleframebufferapple resolves color attachment, means have write depth color renderbuffer in additional render pass , resolve depth information.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -