normal.z = sqrt(1 – saturate(dot(normal.xy,normal.xy))); normal = normalize(mul(rotation,normal));//–講提取出來的法線轉換到切線空間
確定! 回上一頁