Re: Depth buffer attachment problem

rndblnch <[email protected]> Tue, 25 Feb 2014 09:01:29 +0000 (UTC)
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Nicolas Rougier <Nicolas.Rougier <at> inria.fr> writes:
 
> First image is direct rendering (no framebuffer) and is ok. Second image
is indirect rendering (rendering
> to texture then displaying the texture, the left washed-out part is ok, it
comes from the fragment shader
> for testing purposes).
> 
> I suspect the depth buffer is not really attached but I did not get any
error along the way.

did you clear the depth buffer between the binding of the FBO and the rendering?

the code (even with dependencies) would help for analysis.

renaud




------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net