GLSL Fragment Shader. Inputs: • vec4 gl_FragCoord (viewport coordinates) ... GLSL Vector Math ... normalize(a) = a/length(a) = a*inversesqrt(dot(a,a)).
確定! 回上一頁