v2f vert (appdata_full v) { v2f o; float3 dir=normalize(v.vertex.xyz); float3 dir2=v.normal; float D=dot(dir,dir2); dir=dir*sign(D); ...
確定! 回上一頁