I'll be using HLSL for the scope of this tutorial, ... input.texturecoord); float diffuseContribution = clamp(dot(normal, -light), 0, ...
確定! 回上一頁