Re: FBO's - I cant make render to depth buffer work
Posted by phil1234 on Oct 18, 2016; 6:53am
URL: https://forum.jogamp.org/FBO-s-I-cant-make-render-to-depth-buffer-work-tp4037322p4037324.html
- what I want to achieve is to get the depth values from the z buffer for a second pass (post processing)
I you check my code I try to enable 2 textures for the FBO
- you also use a texture for the color
and for the depth you use a render buffer (you cannot retreive values from a render buffer, it's there to make things work)
I already did that and it worked fine