李贊-零基礎(chǔ)Blender全能創(chuàng)作班(第1期)
45.Vertex
Shader是什么?怎么計算?
頂點著色器是一段執(zhí)行在GPU 上的程序,用來取代 fixed pipeline 中的transformation和 lighting , Vertex Shader 主要操作頂點。
Vertex Shader 對輸入頂點完成了從 local space 到 homogeneous space (齊次空間)的變換過程, homogeneous
space 即 projection space 的下一個space 。在這其間共有 world transformation, view transformation和 projection transformation 及l(fā)ighting幾個過程。
標(biāo)簽: