float specular = max(0.0, dot(Normal, HalfVector)); specular = pow(specular, Shininess); // sharpen the highlight vec3 scatteredLight = Ambient + LightColor ...
確定! 回上一頁