In part 6, we implement the fragment shader's main function in GLSL. ... vec3 i = normalize(eyePos - vertex); vec3 o = 2.0 * dot(i, n) * n - i;.
確定! 回上一頁