Also, the dot product should be saturated to avoid negative values. ... For reflect function, the formula is given in th HLSL documentation, but for refract ...
確定! 回上一頁