「Get Zdepth」の編集履歴(バックアップ)一覧はこちら
「Get Zdepth」(2008/07/24 (木) 14:45:19) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
In Renderman shader, we should be able to get depth with this &bold(){length(I)}.
But in Air, it doesn't work well.
Instead, &bold(){depth(P)} works very well.
It return the value from camera's Near/Far Clip Plane.
So you have to be sure these values. Even Auto Render Clip Plane is on.