Listing 12-5 shows a simple HLSL vertex and hull shader. ... Calling normalize on a float4 divides all components by the length of the complete vector.
確定! 回上一頁