2017年6月10日

unity, 在image effect shader中用_CameraDepthTexture重建世界坐标

摘要: 更新 更简单的方法: //depth: raw depth, nonlinear, 0 at near plane, 1 at far plan float4 screenUVwithDepth=float4(screenUV,depth,1);//now x,y,z are in [0,1] nd 阅读全文

posted @ 2017-06-10 20:54 wantnon 阅读(3383) 评论(0) 推荐(0)

导航