Turning Depth Buffer into a PGraphics element

You may also be interested in this recent thread on stencil shaders.

3 Likes