Color and depth buffer

Hello everyone.

I’m new to unity, and I have some probleme to do something which should be (imo) simple.

I have a simple scene (some trees, water, skybox). And I have a button (GUI).

What I want to do is: when I click this button I’d like to save (or send) the color buffer (the image) and the depth buffer of my camera.

First question: How do I tell my project to be on rendered mode and not in forward ?

Second question: How to retrieve thos two buffers ?

sources: I heave looked at this and this but I’m still a little bit confused…

The only thing I need is to retrieve both buffer from the image rendered by the camera and to send or save them.

My english may not be perfect, so if I’m not clear don’t be afraid to say it =).

Anyone ? =)

Man, I looked and it roughly says stuff about the depth buffer, but I see no access to it. It would be nice to get some clarification from those who know the insides a bit more though.

I think that you can’t acces depth buffer from unity.

hum… I’m sorry but the “this and this” links didn’t work.
So here they are:

http://unity3d.com/support/documentation/Components/SL-DepthTextures.html

and

http://unity3d.com/support/documentation/ScriptReference/Camera-depthTextureMode.html*

Someone told me to see rendenr textures but I fail to see how to use them for my purpose…
Any idea ?