今天学习Unity Shader做水特效时,看到两个函数ComputeScreenPos、tex2Dproj,相关代码如下: …… i.proj = ComputeScreenPos(UnityObjectToClipPos(v.vertex)); ...
確定! 回上一頁