Listing 1: HLSL-like pseudo code of our VNDF sampling for the V- cavity model. ... float z = sqrt(max(1.0 - x * x - y * y, 0.0));.
確定! 回上一頁