摘要:
【Unity中的屏幕坐标:ComputeScreenPos/VPOS/WPOS】 1、通过 VPOS / WPOS 语义获取。 VPOS 是 HLSL 中 对 屏幕 坐标 的 语义, 而 WPOS 是 Cg 中 对 屏幕 坐标 的 语义。 上面的Shader,得到的效果如图: VPOS/ WPOS 阅读全文
posted @ 2018-09-07 17:56
Tekkaman
阅读(3271)
评论(0)
推荐(0)
浙公网安备 33010602011771号