Hello Johannes, On 2017-01-20 03:45, Johannes wrote: > I have reread these articles and I now tend to agree with you wrt to the > LayeredTextureBuffer. However, the GL_TEXTURE_CUBE_MAP_ARRAY is missing > nevertheless (?)
yes, looks like it is missing. I think it should make use of glFramebufferTexture for the cubemap array case though. > This stuff is not easy to grasp. Most important for me is that I have > the OpenSG primitives at hand that I need to translate my plain OpenGL > shadow implementation into OpenSG land. I think OSG::TextureBuffer is the one that should use glFramebufferTextureLayer (for cubemap array and similar cases) to make non-layer attachments. To me that seems in line with it's other uses where it binds a plain 2D image as the attachment. Since you have a use case for these, you are likely in a much better position to verify changes. Can you adjust the changes to TextureBuffer/LayeredTextureBuffer to be in line with the above? Thanks! Cheers, Carsten ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users