view pos -> world pos float4 viewPos = float4(i.ray * depth, 1); float4 worldPos = mul(unity_CameraToWorld, viewPos);. 整个shader代码:
確定! 回上一頁