I went through all the chapters in section 1. With the section 2 I am skipping as I feel. So far I did the Instancing and just finished the multipass and deferred rendering. Instead of using the starting projects I am basically trying to incorporate everything into one project which I created at the beginning of the book instead of having many small projects.
Anyway, with the deferred rendering finished I started looking at adding a skybox to it as it is in chapter 12 and then adding a reflection based on that chapter. I added the yellow skybox so far.
At which point would I draw the skybox in the deferred rendering - in the gbuffer render pass or the composite pass?
If I render it in the GBuffer then it gets passed along in the color texture but the background after the composite pass is still black. Is it because the lighting and other fragment processing is being applied to it I am thinking? So I guess it should be rendered in the composite pass but I have absolutely no idea how.
Any help would be appreciated.