vec3@dotproduct·28 EylI think this is very suitable as my first post here. vec3 lightDirection = normalize(lightPosition - FragmentPosition); float diffuse = max(dot(norm, lightDirection), 0.0);Çevir English00115