A Shader Approach Frank Luna ... Note that we do not normalize here — we // do it in the pixel shader. float4 n = weight0 * mul(float4(normalL, 0.0f), ...
確定! 回上一頁