I\'m trying to generate a cubemap array and save depth values etc. I have confirmed that it is generated correctly by glCheckFramebufferStatus, but when I actually render it