Writing to depth buffer

Hi!

I would like to write a texture to the depth buffer in OpenGL ES 1.1, but I can’t find any way to do so.

The reason I want to do this is that I’ve been writing a voxel engine in which I want to write my own depth information. Then I would like to draw sprite quads through OpenGL ES, and thus I need the depth info.

Any help appreciated!

/Grillsnusk

Unfortunately this is not possible with OpenGL ES 1.1.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.