Android OpenGL ES Framebuffer objects - rendering depth-buffer to texture

前端 未结 2 1714
不知归路
不知归路 2020-12-24 08:44

I am using an Android device running Froyo supporting OpenGL ES 1.1 and OpenGL ES 2.0

I want to render the depth buffer to a texture. Having seen a number of example

2条回答
  •  情歌与酒
    2020-12-24 09:05

    Rendering to a depth texture isn't supported on many devices. You'll need to attach a renderbuffer for your depth buffer.

提交回复
热议问题