screenPos = ComputeScreenPos(o.vertex); //screenPos is a float2, TEXCOORD1 Fragment function: half4 col = ...; col.x = i.screenPos.x; col ...
確定! 回上一頁