Anyone know how in HLSL I might get the distance from a vertex position to an arbitrary 2d plane ... float sn = -dot(nPlane, pos - pPlane);
確定! 回上一頁