Hey Folks,
For the last few weeks I've been working on omni-directional shadow-mapping for my game. I've noticed that gDebugger is showing all six faces of my FBO CubeMap as the exact same texture data, even though I have verified that each camera direction is set up correctly and working normally. I use FBO's (2d) throughout my game for lighting, cartoon edging, as well as post-fx so I'm fairly confident it's implemented okay (though there could be something wrong), no framebuffer status errors have occurred and gDebugger hasn't tripped with any errors so I'm at a loss. I've even tried attaching each face as a separate color attachment then using glDrawBuffer to activate each one as I run through my 6 rendering passes and that has produced the same results.
I am targeting OpenGL 2.0, so I cannot use FBO Layering/GeoShaders, so I was wondering if anyone has any pointers on the subject? Is there any settings that if (not)set will copy/render the scene to all 6 faces? I'm more than happy to post some code (specifics would be appreciated only because the code is scattered through numerous files). I have to admit it's pretty much the same as every post I've seen on gd.net about fbo's/cube maps (although I seem to be missing the special sauce and cannot see it). I've tested this with an Intel HD Graphics 4000, NVidia 660M (Optimus technology) both of which produce this issue so it's definitely something I'm (not)doing.
Any suggestions are appreciated. Thanks!






