I created a shadow cube map consisting of 6 frame buffer objects (with only a depth texture attachment), one for each side:
Code :glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_CUBE_MAP_POSITIVE_X + i, Handle, 0);
Now I want to visualize the content of the cube map for debugging purposes.
So basically I want to render each side of the cube map to the screen to check if the values look reasonable.
What is the easiest way to do this? It seems I cannot just select one side of the cube map texture and then render it with GL_TEXTURE_2D?
Help is really appreciated!