{ attenuation = 1.0; // no attenuation lightDirection = normalize(vec3(gl_LightSource[0].position)); } else // point light or spotlight (or other kind of ...
確定! 回上一頁