Using HLSL's step() function (which returns 0 if the first param is greater ... Once the light is behind the surface, it is better to ignore the dot product ...
確定! 回上一頁