輸出1:vertex shader輸出,之後rasterizer會內插,讓polygon裡每個像素分配到一個值,再變成pixel shader的輸入。 至於程式寫法,HLSL要寫成main函式的 ...
確定! 回上一頁