My routine to calculate the normals is that one, which everyone knows, assuming a triangle with vertices ABC: vec3 normal = normalize(cross(C - A, B - A));.
確定! 回上一頁