I'm still investigating on it, and it's really weird : the depth buffer seems 
to be drawn over the color buffer : when I come close to my model, the image 
because darker...

This doesn't appear with FRAME_BUFFER render target.

Is that possible ? I saw some messages on the forum about implicit 
attachment... is there any link with my problem ?

My full render graph  is below (the problem seems to be in the post process 
camera) :


Code:
- Main camera (color / depth render to FBO)
|
|--- main scene
  |
  |--- Post process camera (render a quad using main camera color texture to a 
new FBO)
  |  |
  |  |-- Quad
  |
  |--- No post process camera (color / depth render to FBO,  color FBO is 
shared with post process camera, depth FBO is shared with main camera)
  |  |
  |  |-- Objects without post processing
  |
  |
  |--- Render to screen camera (render a quad to screen using post process 
camera color texture)
  |  |
  |  |-- Quad



Aurelien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45040#45040





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to