Indeed, this matched the associated C# code that generates the HLSL strings. ... normal.z = sqrt(1.0 - saturate(dot(normal.xy, normal.xy)));
確定! 回上一頁