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