Normalize ()函数是让一个向量(任意向量,不一定必须是normal)除以其长度,从而使新长度为1。 ... LightColor和LightPower通过GLSL的uniform变量在着色器中设置。
確定! 回上一頁