Depth Material

Depth Material control how to produce the depth map.
When the console variable r_scene
set to 2, the scene turn into depth rendering. For
every 3d object, first try to use it's depth material for depth rendering; if no
depth material, then use the default depth material. You can see the sample
shader for depth rendering in the 'effect\include\depthpass.fx'.
Remark:
There are preseted float fNear, float fFar parameters (near/far clipping plane) for depth shader.