再使用unity_CameraToWorld内置矩阵从view视图空间转换到world世界坐标,该矩阵定义 ... float3 worldPos = mul(unity_CameraToWorld, float4(viewPos, 1)).xyz; ...
確定! 回上一頁