The original normal vectors in the vertex shader should also be normalized, for the interpolation to work properly. The sample program webgl/basic-specular- ...
確定! 回上一頁