Depth
获得Depth的几种办法,分离有不同后果
1.
<span> float2 depth_uv = float2(i.uv_MainTex.x, 1-i.uv_MainTex.y); float d = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, depth_uv);</span><span> float2 dep
获得Depth的几种办法,分离有不同后果
1.
<span> float2 depth_uv = float2(i.uv_MainTex.x, 1-i.uv_MainTex.y); float d = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, depth_uv);</span><span> float2 dep