(Arrays work in GLSLjust like in C/C++.) The Phong equations are the same, except the code now needs to consider all lights for specular and diffuse.
確定! 回上一頁