float3 posV = UnityObjectToViewPos(v.vertex);. // get linear depth:[0, 1] and pass it to pixel shader. float linearDepth = saturate(-posV.z ...
確定! 回上一頁