Chris Wright is correct in saying that Z isn't really exposed, but it's accessible in GLSL so you can pull it into an image if you need to.
Toneburst figured out a good way of accessing z, and between him and me we got some pretty good SSAO effects running a while back at kineme.net. The thread is here, files included :) http://kineme.net/Discussion/ProgrammingQuartzComposerPatches/separatingiterations#comment-3402 Chris 2009/9/17 Daniel Vollmer <[email protected]>: > Hi all, > > I wanted to experiment a bit with some simple SSAO (screen-space ambient > occlusion), and some form of access to the depth buffer is needed for that. > Is there a way to access the depth-buffer as image, e.g. to down-scale / > blur it (separately from the colour-buffer)? > > Thanks, > Daniel. > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com > > This email sent to [email protected] > _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

