Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

[solved] Deepthbuffer from FBO

$
0
0

@JoseMan wrote:

Hello,

I know this is a very simple question but I didn’t found an answer.
I just want to get a deep texure of a rendered scene which is rendered in a FBO.
I know there is the getDepthTexture function, but when I use this i get this error:

[ error ] ofFbo: getDepthTexture(): frame buffer object 1 not allocated with depthStencilAsTexture

I just want the deepBuffer as a grey texture and I want them to draw.
What am I doing wrong?

Chears

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles